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