Skip to Main Content

Database Software

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

418064Apr 22 2004 — edited Apr 28 2004
I'm using soap to enqueue/dequeue message from my aq queue table;
I used utl_http package to post soap to my AQServlet. This procedures worked fine when i used only varchar2(32767) variable which write text to AQServlet. This wasn't good enough because i have to send larger amounts of data in soap. So i used clob to enqueue data in my queue.
This work's , and i can see all data in my queue table which has column for data of xmltype. But when i try to dequeue data using soap i got this error:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00210: expected '<' instead of 'E'

This is how my soap looks like:
<?xml version="1.0"?>
<Envelope xmlns="http://ns.oracle.com/AQ/schemas/envelope">
<Body>
<AQXmlReceive xmlns = "http://ns.oracle.com/AQ/schemas/access">
<consumer_options>
<destination>PROBA_AQADM.NAD_Q</destination>
<consumer_name>CONSUMER</consumer_name>
<selector>
<condition> tab.corrid='spanish'</condition>
</selector>
<dequeue_mode>REMOVE</dequeue_mode>
</consumer_options>
<AQXmlCommit>
</AQXmlCommit>
</AQXmlReceive>
</Body>
</Envelope>
I can't figure it out why is this hapening!
Do i have to put some more tab in my xml/soap message?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2004
Added on Apr 22 2004
1 comment
739 views