ORA-31011: XML parsing failed
643305Jun 6 2008 — edited Jun 11 2008Hello,
I tried to call an web service using the utl_http package. Below is the code:
However, I am receiving the following error:
"ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2"
I use Oracle 10gR2 on 64-bit Linux.
Before, on Oracle 9iR2 on Windows 2003, I had no problems with the same code:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header>
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="Id-1Sle_jmBkVTCRbF0KUXcN2BG" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>User</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Pass</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<GenerateReportEx xmlns="http://www.openuri.org/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<templateID xsi:type="xsd:integer">233323</templateID>
<outType xsi:type="xsd:string">xls</outType>
<suffix xsi:type="xsd:string">233327</suffix>
<params>
<ParameterBean>
<ParamName>date</ParamName>
<ParamValue>20080608</ParamValue>
</ParameterBean>
<ParameterBean>
<ParamName>prev_date</ParamName>
<ParamValue>20080607</ParamValue>
</ParameterBean>
</params>
</GenerateReportEx>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any help will be appreciated.
Thanks,
Anna