Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Problem with SoapException

Thread Tools

Problem with SoapException

Gustavo Guerra
Posts: n/a
If in a WebMethod I throw a SoapException("message", MyFaultCode) it's
supposed to get the same exception back at the client, right?
But what's really happening is that I get a SoapException always with
ServerFaultCode and a full description on the message field, including stack
trace, like what happens when I throw any exception not of the SoapException
type. What can I be doing wrong to this to happen? Can somebody help me

In this field, java is a little better, marshaling the exceptions from
server to client like they are using the SOAP Fault elements. .Net doesn't
do this automatically, and now I find that even manually sending a
SoapException with the message and fault code I want doesn't work.

Gustavo Guerra

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAPException and Browser Jerry Q ASP .Net 0 01-16-2006 04:10 PM
Inconsistent SoapException.Message djmc ASP .Net 1 11-11-2005 04:10 AM
SOAPException messages converted contain wrong characters in SP1 =?Utf-8?B?RGFueQ==?= ASP .Net 3 12-03-2004 02:25 PM
SoapException - unusual behavior Marty McDonald ASP .Net 1 05-19-2004 03:21 PM
Inherit from soapException Flare ASP .Net 9 10-24-2003 08:23 PM