Hello All,
We have converted all our SOAP web service calls using EasySoap to use HttpClient object.
The issue we have is when the response return code is something other than 200 meaning unsuccessful response.
For example, we get 500 for the response status code and the message is a generic 'Internal Server Error'.
Is there a way to get more details in the case of bad responses?
The SOAP web service calls using EasySoap would give more information if we call the SetSoapLogFile() to have all information written to the log file.
In my example, the logged error in EasySoap is 'ORA-12570: TNS:packet reader failure'.
If anyone can provide any information on this topic would be greatly appreciated.
Thanks,
Tony Nguyen
Log file sample from EasySoap:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>
soap:Server
</faultcode>
<faultstring>ORA-12570: TNS:packet reader failure
https://docs.oracle.com/error-help/db/ora-12570/
</faultstring>
<faultactor>
CCDWSRunPkg
</faultactor>
<detail>
<Error xmlns="http://cadata.ca.state.gov/CCDWS/">
<ErrorNumber>1001</ErrorNumber>
<ErrorMessage>ORA-12570: TNS:packet reader failure
https://docs.oracle.com/error-help/db/ora-12570/
</ErrorMessage>
<ErrorSource>
CCDWSRunPkg
</ErrorSource>
</Error></detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Connection Disconnected