Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How to handle exceptions from a SOAP webservice in a single point

$
0
0
Hi,

I would like to handle all exceptions thrown by my webservice in a single
point so I can create Faults with specific codes / strings based on info in
the exception. When using JAX-RS I can do this very neatly via an Exception
Mapper (and then convert to a REST response) but there doesn't seem to be
an equivalent for JAX-WS..

Is there a way to handle the exceptions before they are turned into SOAP
Faults?

Many thanks
Mandy

Viewing all articles
Browse latest Browse all 5648

Trending Articles