Re: exception responses to ASP.Net soap services
- From: "John Saunders" <no@xxxxxxxxxxxxxxxx>
- Date: Fri, 3 Oct 2008 11:24:57 -0400
"Mark" <mmodrall@xxxxxxxxxxxxx> wrote in message news:982724F7-C98F-46E5-9963-FF7728907745@xxxxxxxxxxxxxxxx
Hi...
How does one get an exception in a SOAP method call to get returned as a
SOAP error packet? I found several articles online that seemed to imply
wrapping it in a SoapException should result in proper handling but that
doesn't appear to be the case.
Throwing a SoapException from a web service method just leads to an http
status of 500 and no output at all.
Is there support in the framework for returning a soap exception packet, or
does one have to roll one's own?
Any uncaught exception is translated into a SOAP Fault. That should always happen.
Please create and post a small piece of code that reproduces the situation where an exception is not returned as a SOAP Fault?
--
John Saunders | MVP - Connected System Developer
.
- Follow-Ups:
- References:
- exception responses to ASP.Net soap services
- From: Mark
- exception responses to ASP.Net soap services
- Prev by Date: exception responses to ASP.Net soap services
- Next by Date: Re: Can I manipulate the width/Height of scroll bar on asp Panel webcontol?
- Previous by thread: exception responses to ASP.Net soap services
- Next by thread: Re: exception responses to ASP.Net soap services
- Index(es):
Relevant Pages
|
Loading