1 Reply Latest reply on Jun 6, 2012 7:16 AM by paolocollector2

    encapsulation of soapexception

    paolocollector2

      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?