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?
never mind. Just found out that @WebFault tag does exaclty this.
Retrieving data ...