SOAP <faultstring>
29,340
This means that the web service framework is returning an unchecked exception. Try running the web service on a debugger to see where the exception is happening or wrapping the web service body inside an try/catch to print the stack trace.
Author by
Diego Fosso
Updated on November 20, 2022Comments
-
Diego Fosso over 1 year
I am having an issue with the SOAP , when I call my services I get this error:
<faultstring>Fault occurred while processing.</faultstring>
The following response is returned which doesn't give a clue where and why the error happens. How can I customize and show a proper detailed message to user so he/she know what they did wrong
I have gone through the CXF customization with
outFaultInterceptors
andinFaultInterceptors
but I am not clear how I am gonna customize cxf. -
Stihler over 12 years@JohnSaunders not CXF itself, it is supported by Java. I assume you have control over the web service implementation, so that you can debug the service while you make a request. Otherwise, there's not much you can do about it.
-
John Saunders over 12 yearsOh, didn't know this was a Java question.
-
Stihler over 12 yearsNow that you mentioned it, I'm not sure about it. But as the author said he was dealing with CXF, I presumed that it was Apache CXF, wich runs on Java.