Skip to Content
author's profile photo Former Member
Former Member

Reading through a Soap Envelope

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2011 at 11:56 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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?

  • Posted on Apr 18, 2011 at 03:36 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.