javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

Add feature to supply the faultcode to SOAP faults #1164

Open glassfishrobot opened 9 years ago

glassfishrobot commented 9 years ago

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]

glassfishrobot commented 9 years ago

Reported by michael-o

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS-1164