Skip to Content
avatar image
Former Member

Message as link in SOAP body instead of inline

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 04, 2005 at 04:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 05, 2005 at 08:30 AM

    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>
    
    

    Add comment
    10|10000 characters needed characters exceeded