Himai Minh wrote:I think the client can still know what exception will be thrown.
If it's a dynamic proxy client, it'll have a client side exception class generated by wsimport. The client will not know what actual exception the service threw - the JAX-WS runtime will map the
SOAP fault to the client side exception. The point to be noted is, the client may not even be written in
Java so transmitting server side Java exceptions is useless. Not the least of concerns is tight coupling; if a Web Service gives out server side information to the client, we might as well use an
EJB as was done in the 2000.
Abhijit
-------
SCJP 5, SCBCD 5, OCWCD 5, OCEWSD 6, CSM