1 Reply Latest reply on Mar 16, 2009 7:28 AM by socallag

    Absorb Soap Fault and convert to Standard Response

    kazarian

      I am interested in capturing any Soap Faults that occur and turning them into standard responses with the state of the fault bundled into a ResponseContext element.  Does anyone know how to intercept a SoapFault and return processing down the standard response chain?

       

      The reason for wanting this behaviour is that I want the client to only have to concern itself with a request and response.  Within the response the client has the opportunity to check for success of the request.  If success flag is false then they have the option of reviewing the response code, displayableMessage, and errorMessage in the response.  The only exceptions the client would have to handle are connection refused (if my service is down).

       

      Any help and/or suggestions are appreciated. 

       

      Thanks,

      mk