What is the possible cause of the โ€œError string and possibly error code not setโ€ when calling the web service?

I am making a SOAP web service call in a Java application for a third-party web service. The Java classes used to search for a web service, transfer data, and create a SOAP request were generated using the Apache CXF libraries from WSDL.

While most of the service requests succeed, I encounter problems with some failures when calling the "Error string and possibly an error code, not an error message . Unfortunately, I cannot get the exact stack trace or request objects / answer, so I'm practically in the dark.

I am wondering if it can be assumed that this problem is due to a poor response sent from the web service, or if this problem could occur on the client side. Also, what could be the main reason for this exception? Any input would be greatly appreciated!

+4
source share
1 answer

If this is a response from a third-party webservice method, it looks like this problem is on their side. Another possible reason that the error string and the error code are request parameters, and you did not specify them, and there is a verification message.

0
source

Source: https://habr.com/ru/post/1381564/


All Articles