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

document to xml, losing the namespace, prefix details

  • 1.  document to xml, losing the namespace, prefix details

    Posted Fri October 30, 2015 07:06 AM

    hi all,

    note: we are using wm9.6 with not fixes or patches.

    my wsdl fully defines fault.
    our approach is wsdl first, web service provider development.

    i’m trying to map the fault (our wsdl defined) to the soap fault document’s detail.
    but in the SOAP fault message over http as response, is NOT having the namespace and prefix details for our error fault/details elements

    is any specific measure to consider while document to xml conversion to retain the namespace and prefix details of the document into the xml string

    any help is appreciated
    </soapenv:Envelope>
    soapenv:Body
    soapenv:Fault
    soapenv:Server
    [ISS.0088.9256] Fault returned by invoked service
    http://localhost:5555/xxx



    xxxxxE
    xxxxxxxxxxxxxxxxx
    xxxxxxxxxxx



    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

    below document type is coming from wsdl (auto generated from wsdl while wsd creation). fault and all its subelements are having the namespace properties properly set

               <Fault>
    <ErrorCode>xxxxxE</ErrorCode>
    <ErrorMessage>xxxxxxxxxxxxxxxxx</ErrorMessage>
    <ErrorName>xxxxxxxxxxx</ErrorName>
    </Fault>
    

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


  • 2.  RE: document to xml, losing the namespace, prefix details

    Posted Fri October 30, 2015 12:10 PM

    Quick question…In the document to xml string step did you specify name space in the input signature nsDecls and tested it?

    HTH,
    RMG


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