Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-31011: XML parsing failed

643305Jun 6 2008 — edited Jun 11 2008
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2008
Added on Jun 6 2008
3 comments
1,245 views