on 01-06-2014 10:49 PM
Hi All,
We are in the process of implementing a web service SOAP to Proxy.
Need inputs on the options on how to proceed with development.
Requirement is to decide the target system based on a value which will needs to be extracted from SOAP Header.
We are SAP PI 7.3 Single stack latest version.
Do we have to use AXIS protocols or standard SOAP will do the job?
Could you please share any input steps on how we can achieve this.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I saw this blog...this one is for able to read and sending data to target system.
My requirement is to route message between 2 different target systems based on a field value from SOAP Headers....which will happen before mapping....
SO how to proceed or use combinations to achieve this?
Thanks much in advance.
You can simply select the xpath in the receiver determination to filter and route the message to two target systems.
As the SOAP header will be part of your payload, simply select the field in xpath and add your condition to route your message.
SOAP header will be part of the main payload before the mapping itself
Hi Jan,
These are the steps to follow:
1. Make sure of the request structure and take note of the namespaces. An example here:
Two namespace prefixes:
soapenv for "http://schemas.xmlsoap.org/soap/envelope/"
list for "http://xxxxxxxx/" - namespace for my message type
In this example, the Receiver field under the Soap Header does not have any namespace prefix(important).
2. Check Do Not Use SOAP Envelope in SOAP Sender CC
3. In Receiver Determination xPath, declare the namespaces + prefixes on the bottom part
p1 = http://schemas.xmlsoap.org/soap/envelope/
p2 = http://xxxxxxxx/
If there is a namespace for the Receiver field, then declare it as p3 or any prefix of your choosing. The xpath would change as well e,g /p1:Envelope/p1:Header/p3:Receiver
4. Execute your scenario
Hope this helps,
Mark
Hello Mark,
When we select "Do not use SOAP Envelope" , it is not able to find the Receiver in Integrated configuration. May be it is not able to find enough information in SOAP header to route that to correct receiver.
Do we need to pass any additional parameters in header from client for this to happen correctly ?
Thanks & Regards,
Dijesh Tanna
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.