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

Http posting xml with special character

  • 1.  Http posting xml with special character

    Posted Fri October 28, 2005 08:50 PM

    Hi,

    I am trying to integrate Siebel and webMethods. My input parameter is a string called $xmldata. Siebel is able to send to webMethods an xml properly, until they send xml’s conataining special characters (e.g. &). Siebel is sending this xml through http and is converted into a & format. unfortunately when i try to get string from the pipeline it shows that the xml being sent by Siebel is truncated each time it sees an “&”.

    I have tried changing my input parameter to a node, but this still doesn’t work. any suggestion on how Siebel or webMethods should configure the ampersands?


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


  • 2.  RE: Http posting xml with special character

    Posted Fri October 28, 2005 10:04 PM

    Eric,

    If there are spl chars in xml document like (&,<,> etc…)wm expects (&,<,>)and set service input node object always if via http and this should pass thru XMLStringToNoe,XMLNodeToDocument(which will parse spl chars successfully)…

    but i am not sure why it is truncated when WM receives via http,ofcourse ultimately XMLNodeToDocument will fail while parsing.

    May be the source document sent by siebel they have to set Content-Type-=text/xml via http transport…Please check with the siebel folks about how they are sending the xml.

    HTH,
    RMG


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


  • 3.  RE: Http posting xml with special character

    Posted Sun October 30, 2005 04:45 PM

    thanks rmg, does Wm needs to accept the message as a string or as a node?


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


  • 4.  RE: Http posting xml with special character

    Posted Mon October 31, 2005 03:57 PM

    If xml sent via http with content-type=text/xml then wm can accept $xmldata or node as service input for processing inbound.

    HTH,
    RMG


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