cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP receiver adapter - payload inside the soap envelop

Former Member
0 Kudos

Hi,

We have to send a SOAP message to 3rd party from PI 7.1. Using SOAP receiver adapter - we are trying to achieve this. 3rd party software is unable to accept payload as an attachment of the main envelop - they want it enside the main envelop.

I tried with "Keep attachment" option - but PI still keping the payload as an attachment. I think this option is for handling "extra" attachment.

Is there any way we can keep the payload inside the envelop?

In run-time WB, at the moment envelop looks like

<SOAP:Envelope xmlns:SOAP="http://schemas....

....

<SOAP:Body>

....

<sap:Payload xlink:type="simple" xlink:href="cid:payload-d6518670ca1311debbd9ca347000800b...">

..

</SOAP:Body>

</SOAP:Envelope>

And the payload d6518670ca1311debbd9ca347000800b... ( again viewed from RWB) - contains the data.

<?xml version="1.0" encoding="UTF-8" ?>

<ns2:Order> ....

....

</ns2:Order>

Can we insert this payload directly inside the SOAP:Envelope body instead of a link there?

Regards,

Sudhin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

It seems to me that this 3rd party is expecting only XML not SOAP.

If this is the case, you should use the HTTP Receiver adapter instead of SOAP.

Some systems 'say' they can speak SOAP but they can only speak XML. Not to blame, it's a mistake many make these days.

The only way you use SOAP Receiver adapter with this 3rd party, is that if someone from the 3rd party hands you a WSDL file.

Ricardo Sancio Lóra

Brazil