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 with a very, very simple native webservice

Edwin van MeerendonkApr 18 2012 — edited Aug 22 2013
I set up the Native webservices in our 11.2.0.1 environment like it's mentioned in the manual.
I created a packaged function without input parameter that just returns a varchar2.
In its simplest form I returned a value 'x'

the url I used was http://localhost:8080/orawsv/ENER/HANDLER/GET_METERSTANDEN --> package HANDLER, function GET_METERSTANDEN

The WSDL looks correct. However, when I call my function by the above URL I get:

<soap:Envelope><soap:Body><soap:Fault><faultcode>soap:Client</faultcode>
<faultstring>Error processing input</faultstring>
<detail><OracleErrors><OracleError>
<ErrorNumber>ORA-31011</ErrorNumber>
<Message>XML parsing failed
</Message></OracleError></OracleErrors></detail></soap:Fault></soap:Body></soap:Envelope></code>

so, "something" is wrong with my input (?? there is none) and parsing of the(?) XML failed.

Is there a way to see the generated XML?
And anyone encountered the same error while following the example in the manual to the letter?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2013
Added on Apr 18 2012
9 comments
2,864 views