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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Getting the error SOAP message MUST NOT contain a Document Type Declaration(DTD)

    Posted 08/03/17 02:41 PM

    Hi,

    Im getting “SOAP message MUST NOT contain a Document Type Declaration(DTD)” error while invoking a webservice which hits a end system via JDA using a customer number as input. Getting this error while invoking only some customers. Not knowing the reason for this issue.

    Let me know if any more details are needed to investigate this.
    failureResponse.xml (21.5 KB)


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Getting the error SOAP message MUST NOT contain a Document Type Declaration(DTD)

    Posted 08/05/17 06:15 AM

    Did you try reproducing this with latest IS core fix levels installed?

    Capture the request and response xml by enabling to TRACE, which will help you to analyze the issue? You can also use TCPMon to intercept the request or response.

    To check if wM issue or not, can you load the consumer WSDL to Soap UI and see you get the expected response?


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Getting the error SOAP message MUST NOT contain a Document Type Declaration(DTD)

    Posted 08/07/17 03:54 PM

    check the server that you are connecting to, it may not be returning a valid SOAP response (for example, a HTML page was returned).


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 4.  RE: Getting the error SOAP message MUST NOT contain a Document Type Declaration(DTD)

    Posted 08/21/17 05:55 AM

    Hi All,

    I am also facing the same issue. I could see the server which we are connecting, provides a valid response for some customer number and throws the below error for different customer number.

    " org.apache.axiom.om.OMException: SOAP message MUST NOT contain a Document Type Declaration(DTD) in webMethods "

    Can anyone suggest a solution.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB