Skip to Main Content

DevOps, CI/CD and Automation

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!

SOAP Webservice - Connection Error: 500

Mehabub SheikhOct 18 2014 — edited Nov 13 2014

Hi,

I have SOAP webservice which has been created from PL/SQL procedure. The procedure has three IN parameters and 10 out parameters. When the webservice was created it was created with 13 parameters. If I test the webservice from HTTP Analyzer in JDeveloper 12.1.3 by providing three parameter values then it shows me the values in the other 10 parameters.

Now I created a WebService Data Control using this SOAP Webservice. I dragged and dropped the operation as Parameters form. After deploying it to Android emulator, I tried to test it but it is throwing Connection Error: 500


If I run the adb pull command to get the debug file for the application I can see the following details

Back Channel Hidden Feature: Received Event: deviceready

Back Channel Hidden Feature - Startup is complete.

[SEVERE - oracle.adfmf.framework - HttpServiceConnection - log] Connection Error: 500

[SEVERE - oracle.adfmf.framework - HttpTransport - parseResponse] Response [Error: 500]: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Client</faultcode><faultstring>Failed to get operation name from incoming request</faultstring></env:Fault></env:Body></env:Envelope>

[SEVERE - oracle.adfmf.framework - SoapTransportLayer - invokeSoapRequest] Encountered exception while invoking SOAP request

EndPoint: http://<Host:port>/SOAapp-AliveEBusinessServices-context-root/GetAllBalancePort

SOAPAction: "http://alive/ebs/GetAllBalance/GetAllBalance.wsdl/getBalance"

Exception: HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.

[SEVERE - oracle.adfmf.framework - Utility - invoke] InvocationTargetException Error: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.

[SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] Request: {"classname":"oracle.adfmf.framework.api.Model","method":"processBatchRequests","params":[false,[{"classname":"oracle.adfmf.framework.api.Model","method":"evaluateMethodExpression","params":["#{bindings.getBalance.execute}",[{".type":"oracle.adfmf.amx.event.ActionEvent"}],"void",["oracle.adfmf.amx.event.ActionEvent"]]}]]} exception: {"message":"HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.","errorCode":500,".type":"oracle.adfmf.framework.exception.AdfInvocationRuntimeException",".exception":true,"severity":"ERROR","errorCategory":"WEBSERVICE"}

[SEVERE - oracle.adfmf.framework - HttpServiceConnection - log] Connection Error: 500

[SEVERE - oracle.adfmf.framework - HttpTransport - parseResponse] Response [Error: 500]: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Client</faultcode><faultstring>Failed to get operation name from incoming request</faultstring></env:Fault></env:Body></env:Envelope>

[SEVERE - oracle.adfmf.framework - SoapTransportLayer - invokeSoapRequest] Encountered exception while invoking SOAP request

EndPoint: http://<Host:port>/SOAapp-AliveEBusinessServices-context-root/GetAllBalancePort

SOAPAction: "http://alive/ebs/GetAllBalance/GetAllBalance.wsdl/getBalance"

Exception: HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.

[SEVERE - oracle.adfmf.framework - Utility - invoke] InvocationTargetException Error: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.

[SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] Request: {"classname":"oracle.adfmf.framework.api.Model","method":"processBatchRequests","params":[false,[{"classname":"oracle.adfmf.framework.api.Model","method":"evaluateMethodExpression","params":["#{bindings.getBalance.execute}",[{".type":"oracle.adfmf.amx.event.ActionEvent"}],"void",["oracle.adfmf.amx.event.ActionEvent"]]}]]} exception: {"message":"HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.","errorCode":500,".type":"oracle.adfmf.framework.exception.AdfInvocationRuntimeException",".exception":true,"severity":"ERROR","errorCategory":"WEBSERVICE"}

Here for privacy reasons I have replaced actual host and port with <Host:port>.


Could you please help me?

Thanks,

Mehabub

Comments
Post Details
Added on Oct 18 2014
10 comments
5,211 views