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

Marshalling Exception in converting XMLNodeToDocument

  • 1.  Marshalling Exception in converting XMLNodeToDocument

    Posted Thu March 15, 2007 07:16 PM

    Hi All,

    i am getting Xml as in put to my flow service,i coverte to xmlto node tha i used XMLNodeTo Document service to covert xml to document,i got once Exception the In input Xml one filed value contains the & special character

    DAVID ADAMSON & PARTNERS LIMITED

    at conversion of xmlnodeto document gone cach block given Exception

    [ISC.0042.9332] Malformed entity reference: & PARTNERS LIMITED
    ADD
    3
    2
    SC204488
    SC204488

    32
    RUTLAND SQUARE
    EDINBURGH
    MIDLOTHIAN

    i gave isXML true while converting xmlstring to node and i have given documentType ,given make arry false in XMLNodeToDocument

    can any one Help on This to Resolve This Problem


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


  • 2.  RE: Marshalling Exception in converting XMLNodeToDocument

    Posted Fri March 16, 2007 08:38 AM

    Hi,

    For XML to Document

    1. XMlStringtoXMLNode (Set isXMl to True)
    2. XMLnodetoDocument

    I tried the following and it is working fine

    XMLData

    <?xml version="1.0" encoding="ISO-8859-1"?> DAVID ADAMSON & PARTNERS LIMITED ADD 3 2 SC204488 SC204488 32 RUTLAND SQUARE EDINBURGH MIDLOTHIAN

    why donot you try to validate or look for well-formedness of your XMLString, using some tools like XMLSpy?

    Thanks
    Maram


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