Skip to Content

Change message header

Hi,

We have HTTP adapter sending new wsdl imported message structure to http receiver.

The message is transformed by xi into this when looking in sxmb_moni :

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

http://schemas.xmlsoap.org/soap/envelope/">

<ns1:Header>

http://www.xxx.com/soap/">

</ns2:Header>

</ns1:Header>

"ns1" and "ns2" prefixes are not in the imported wsdl,

how can we replace the prefixes by other prefixes?

Thanks in advance,

Laurent.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 13, 2008 at 02:14 PM

    Hello Laurent,

    It looks like you ve posted a SOAP Message into the Http Adapter (namespace ns1: http://schemas.xmlsoap.org/soap/envelope/)

    As the Http Adapter just receives and sends plain payloads, it treets your SOAP Message as payload

    with all namespaces of the SOAP Envelope.

    You can either try to post the real payload (which would normally sit in your SOAP Body Element) or post this message in the integration engine entry (XI Adpater) directly, where your SOAP Envelope gets stripped away automatically.

    See also this blog for a how to: /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

    With best regards

    Sebastian

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member laurent touillaud

      Hello Laurent,

      Oh i think i misunderstood the first time, i thought you were using an external SOAP Client that is posting into XI via the http adapter, but it looks now like you are sending Messages defined by the external WSDL to another system via the http sender adapter, that's your sceneario right?

      Normally if you import a wsdl, the contained messages could be used without being defined as a "whole" SOAP envelope, maybe you should post your WSDL and describe the sencario end to end to put it more clear.

      With best regards

      Sebastian