How to throw valid service SOAP response instead of very ambiguous Server 500 error from SOAP handler

263 Views Asked by At

I am sending SOAPException from my SOAP handler class (Java class) when ever there is a unauthorized user, but in my client it is giving 500 Internal Server Error.

Can any body help me how to throw specific code instead of 500.

Thanks in advance.

0

There are 0 best solutions below