cancel
Showing results for 
Search instead for 
Did you mean: 

Reading through a Soap Envelope

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hello Suprita,

Thanks for the response, But the WSDL is hosted on the receiver system and we are using SOAP receiver Communication Channel.

Regards,

Kiran.

former_member200962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

The option is available with Receiver SOAP channel as well.

-Supriya.

former_member200962
Active Contributor
0 Kudos
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?