DataPower

DataPower

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

DTD encountered in SOAP context -> error in WSP response rule

  • 1.  DTD encountered in SOAP context -> error in WSP response rule

    Posted Thu July 23, 2020 10:56 AM

    There is one web service proxy component that is making call at the end of request rule to an external webservice(separated by a firewall) that is supposedly returning SOAP response. But the response rule in the WSP is failing with below error as seen in system logs-

    'wsgw (WSPName): DTD encountered in SOAP context'

    'Implied action Parsing input as SOAP, attempt pipeline. failed: DTD encountered in SOAP context at line 1 of..'

    'DTD encountered in SOAP context at line 1 of...'

    Can we confidently say that the external service is not returning a valid SOAP response data to WSP, hence this error? is there any other possibility/scenario for this particular error to occur?



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: DTD encountered in SOAP context -> error in WSP response rule

    Posted Fri July 24, 2020 11:21 AM

    > Can we confidently say that the external service is not returning a valid SOAP response data to WSP, hence this error?

    >

    Yes:

    https://www.w3.org/TR/2007/REC-soap12-part1-20070427/#soapenv

    "The XML infoset of a SOAP message MUST NOT contain a document type declaration information item."



    #DataPower
    #Support
    #SupportMigration