metro-jax-ws icon indicating copy to clipboard operation
metro-jax-ws copied to clipboard

Add feature to supply the faultcode to SOAP faults

Open Tomas-Kraus opened this issue 3 years ago • 0 comments

Currently, it is impossible to throw either WebServiceExceptions or customs excpetions from WSDL which have a different faultcode than S:Server. This is really annoying because you neither can provide custom faultcodes nor can you even use standard ones like S:Client to signal a client error, e.g., invalid input. This all leads to bad interface design. The only way is to use SOAPFault with SOAPFaultException but this is real pain.

Affected Versions

[2.2.8]

Source: https://github.com/javaee/metro-jax-ws/issues/1164 Author: glassfishrobot

Tomas-Kraus avatar Jun 02 '22 17:06 Tomas-Kraus