cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove SOAP Header in response Payload using SOAP HTTP 1.1

0 Kudos

We are getting SOAP Header and SOAP Body in response from SALEDFORCE Webservices.

Where as in Service interface , we have added only WSDL of SOAP Body so we are failing to map response to PI.

So is there any solution to remove SOAP Header before reading response to PI ?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

Hi Rajani!

If you use SOAP adapter, it removes SOAP Envelope from response message by default unless you set "Do Not Use SOAP Envelope" in channel settings.

Regards, Evgeniy.

0 Kudos

Hi ,

Yes, I have set "Do Not Use SOAP Envelope" because we need to add SOAP Header in payload and send to SALESFORCE. like below,

<soapenv:Header>

<urn:SessionHeader>

<urn:sessionId>{SESSION_ID}</urn:sessionId>

</urn:SessionHeader>

</soapenv:Header>

And we build Async/Synch Bridge to read response from SALESFORCE to PI but failing to read response as SOAP header is passed in response 😞

former_member190293
Active Contributor
0 Kudos

Hi Rajani!

Did you try to parse response message using XSL transformation, for example?

Regards, Evgeniy.

0 Kudos

Yes, I have tried but issue is response itself is not getting in to PI because service interface WSDL have only SOAP Body 😞

Error: Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface

0 Kudos

issue is solved,, ,, thank you all..