|
| Xml Soap Exceptions - Get Internal 500 Error |
|
|
|
|
| Messages |
|
Related Types |
This message was discovered on microsoft.public.dotnet.framework.aspnet.webservices.
| Adam Stevenson |
Hey all,
I am having a problem getting soap error message to be handled without recieveing an internal server error (the plan, basic, no explanation message) when I throw an SoapException inside a WebService Method. I have tried the code on two seperate servers, and get the same results. According to the help file contained in Visual Studio .NET Library, this should work but does not.
All I did was copy the following function (with the guts of course, and it did not throw an exception, but instead just returned a 500 internal error.
I am trying the sample code found at:
ms- help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconhandlingraising exceptionsinxmlwebservices.htm
Does anyone have any ideas why the sample code did not work?
The stubbed out function:
[WebMethod] public void myThrow() {
}
|
|
|
| |
|
| |
| |
| adam |
Duh, got it, need to uncheck Friendy Error Message in IE. [Original message clipped]
|
|
|
| |
|
| |
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|