Problem with SoapException

G

Gustavo Guerra

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
here?

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.

Regards
Gustavo Guerra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top