Posted by kohsuke
on December 18, 2006 at 5:09 PM PST
When you use the JAX-WS RI, you can now see the server-side stack trace on the client.
One of a very common problem that people (especially new people) faces in the remoting system like JAX-WS is this. Your server throws an unexpected exception. You get an error on the client saying "server reported an error", and you'd like to better find out what's going on in the server, but you don't know how.
So to make the JAX-WS RI easier to use, I just implemented a mechanism where the server side exception stack trace (complete with all nested exceptions) is captured in the SOAP fault message. This allows the JAX-WS RI client to reconstruct the exception, and so when you dump the exception on the client side, you'll see the complete stack trace on the server.
This change should be in the final release of JAX-WS RI 2.1, which should be "soon."