JBoss Community

encapsulation of soapexception

created by Paolo Collector in JBoss Web Services - View the full discussion

Hi

we have declared in our server application some exceptions that we want to return to the invoking client. We used subclasses of soapexecption to make sure they are reported in the wsdl.

However when we throw such an exception the client receives instead a generic soapexception, with the custom one incapsulated.

This defeats the purpose of having custom exceptions because the client proxy is auto generated and cannot customize the handling of the exception.

Is this a wanted behaviour? can it be changed or configured?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community