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

Convert XML Node directly to XMl String

  • 1.  Convert XML Node directly to XMl String

    Posted Thu September 23, 2004 10:45 PM

    I have a xml node object as an input to my service. I can convert node to document using xmlNodeToDocument and then convert it to xml strng. But, my string is not encoded (I have value with eg, “Dun & Bradstreet”). So when I try to convert node to document it will fail. Instead, is there a way to directly convert the node to string so that I do not have to worry about the encoding? Any input will be great or an alternative solution will be good too!

    Thanks,
    Bharath.

    Email: bharu78@yahoo.com


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


  • 2.  RE: Convert XML Node directly to XMl String

    Posted Thu September 23, 2004 11:14 PM

    Bharat,

    There is no alternate way of encoding(for a node)and you have to force the initiator to send the data as “Dun & Bradstreet”

    Unless you have xml string it would have different matter.

    HTH,
    RMG.


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