I have a server hosting soap ws, one operation may throws:
import javax.xml.ws.http.HTTPException
...
throw new HTTPException(401);
but my client receive and logs only this uneseful for him message:
com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Fault occurred while processing. Please see the server log to find more detail regarding exact cause of the failure.
In other cases I throw a WebServiceException with a message and that message is correctly logged client side, while with HTTPException this doesn't work
I'm using Apache CXF 3.1.11
Any help would be appreciated, thanks in advance