[Mono-aspnet-list] Exceptions in web service to SOAP Faults

vds johan at vdslikke.net
Thu May 19 06:31:04 EDT 2011


Hi,

>From my C# web service (asmx) I want to return a SOAP fault in case
something went wrong. According to 
http://msdn.microsoft.com/en-us/library/ds492xtk(v=vs.80).aspx this  an
exception thrown in a web service is automaticly converted to a SOAP fault
message. However if I throw an exception the test form shows '500 - Internal
Server Error', not a SOAP result. 

Are SOAP fault messages supported by Mono? If so, how to return them?



--
View this message in context: http://mono.1490590.n4.nabble.com/Exceptions-in-web-service-to-SOAP-Faults-tp3535351p3535351.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110519/bb8ac807/attachment.html 


More information about the Mono-aspnet-list mailing list