cancel
Showing results for 
Search instead for 
Did you mean: 

Message as link in SOAP body instead of inline

Former Member
0 Kudos

Hi all!

We have a problem with the XI SOAP Adapter invoking a web service on an external system.

The SOAP message received from the external system contains something like an external link in the SOAP BODY.

The message is therefore parsed incorrectly.

Is it possible to configure the adapter to save the message inline in the soap body?

Thank you in advance.

Gianluca Collot

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Naveen,

i'm working with Gianluca. The legacy system is not able to parse the SOAP message, because it can't found the payload data. In the body part of messagge, infact, there is the following tag with a link to the effective payload, sent in attachment (i think).

In the Adapter engine monitor, looking the details of the sent message, i found 2 visualization: the main message (with envelop, header and body) and the payload (with message data).

Does someone know how to put payload directly in the body?

Thankyou in advance,

Francesco


--------------  Main part:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Header xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:wsse="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  </SOAP:Header>
  <SOAP:Body>
    <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
      <sap:Payload xlink:type="simple" xlink:href="cid:payload-42F0B5A9EF2C0A3D000000000AB44471@sap.com">
        <sap:Name>MainDocument</sap:Name> 
        <sap:Description /> 
        <sap:Type>Application</sap:Type> 
      </sap:Payload>
    </sap:Manifest>
  </SOAP:Body>
</SOAP:Envelope>

--------------- Message part: (payload-42F0B5A9EF2C0A3D000000000AB44471@sap.com)

<?xml version="1.0" encoding="UTF-8" ?> 
<ns20:Messaggio xmlns:ns20="urn:testnamespace_XI_2_WBI-interface">
  <Testo>Test of message</Testo> 
</ns20:Messaggio>

Former Member
0 Kudos

hi,

can you post more information as to what error you are getting. contents of the soap message will be very helpful to see what the problem is?

Naveen