IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Sending XML as a string to a wsdl on Integration Server

  • 1.  Sending XML as a string to a wsdl on Integration Server

    Posted Wed November 20, 2019 08:57 AM

    Hi All,
    I have a wsdl provider on Integration Server where in the input there is only 1 string field. If I send XML in that string, in IS it gets converted to a XML document with the same name as the field. is that normal behaviour? if yes then is there any way to avoid it. I would like to received the same XML string which was sent to the wsdl URL.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Sending XML as a string to a wsdl on Integration Server

    Posted Thu February 11, 2021 01:47 AM

    Hi Anjni,

             When you provide the inputs as an XML within a SOAP Envelope (which I assume you are doing here via SOAP UI) you are expected to encode the "<" and "&" characters in the enclosed XML to get the resulting string as XML. 
    

    If you are using our Designer, then encoding is done for you and the resulting connector output is an XML String for the string field. I have tested this behavior with 10.5 IS, if you see a different behavior in another version of IS, let me know.

    Thanks,
    Arpitha


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods