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

soapHTTP error - namespace prefix issue

  • 1.  soapHTTP error - namespace prefix issue

    Posted Wed December 16, 2009 11:18 PM

    Hi,
    I am invoking soapHTTP service and getting error as:
    "org.xml.sax.SAXParseException: The namespace prefix “XMLNS” was not declared. Message being parsed: "

    what should be set in nsDecls of documentToXMLString service prior to soapHTTP to resolve this. Please let me know.


    #API-Management
    #soa
    #webMethods


  • 2.  RE: soapHTTP error - namespace prefix issue

    Posted Wed December 16, 2009 11:43 PM

    Maybe you are using XMLNS in upper case while it should be in lower case “xmlns” ?

    You need to compose a valid soapData object with createSoapData service and adding headers with pub.soap.utils:addHeaderEntry and add body with pub.soap.utils:addBodyEntry.

    What XML did you compose?


    #webMethods
    #API-Management
    #soa