extracted from here :
SOAP Exceptions
Exceptions in SOAP responses are returned with an 200 OK HTTP Status so they are deserialized as normal responses in code-generated SOAP clients. The original HTTP Status code is available in the X-Status HTTP Header or SOAP Response Header named X-Status . This is transparently converted into a typed WebServiceException when using ServiceStack’s built-in Soap 1.1/1.2 generic Service Clients as seen in WebServicesTests.
Is there a way to have them returned with a http status code 500 … , so that a vsnet “add service reference” client will generate an .net exception ?
guess i’ll have to write somthing like this
ServiceExceptionHandlers.Add((req, request, ex) =>
{ … }
but what exactly ? thank you