on 04-18-2011 12:46 PM
Hello,
The scenario is a synchronous, PI is sending a request to a web service hosted on the third pary systems. The request has been initiated by the method provided in the WSDL.The third party system is sending the response in terms of a Soap Envelope to PI.There is no method existing in the WSDL provided to carry envelope. How to read the soap envelope sent to PI.
Regards,
Kiran.
SOAP Adapter Sender - PI host webservice - so setting options do not use envelope and adding parameter in the WSDL URL can provide control to have soap envelope and header inside the PI boundary to use them. William's blog explains it.
SOAP Adapter Receiver- PI consume webservice- Adding the same options to send soap envelope and soap header to third party system. In other words, Not adding those options will not provide envelope and header details in the request message to third party.
Abhisek's comment is correct. I concur.
If third party not sending envelope and header information in their response message, You cannot get it. If you need then you might have to create the message structure as you need using XSLT mapping or java mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the Parameter 'Do not use SOAP envelope' in the receiver SOAP communication channel.
Check the below blog for more details:
/people/william.li/blog/2009/07/30/how-to-read-soap-header-information
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you would need to develop the required SOAP envelope using JAVA mapping...if you do a search on SDN you can get references on this portion
Do you need the SOAP envelope while receiving back the message from the WS?
If yes then you should firstly define a structure in PI which is same as that of the SOAP envelope....then you can get the message into PI....this is also mentioned in William's blog.
Edited by: abhishek salvi on Apr 18, 2011 5:41 PM
The option is available with Receiver SOAP channel as well.
even though the option is available in receiver SOAP channel, its purpose (IMHO) in the receiver is to include or exclude SOAP envelope while sending the message to the target system....will it work when receiving back the response in SYNC communication through the receiver channel?
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.