SoapException problem - Still nobody?
-
sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams] -
sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]i havent got much idea about this,,, but i took this code from a thread posetd by a guy check it out http://www.thescripts.com/forum/thread293794.html Example: MyCustomWebServiceException : soapException { private string _MyCustomProperty; public string MyCustomProperty { get { return _MyCustomProperty; } } public MyCustomWebServiceException(string message, XmlQualifiedName code, string CustomParameter) : base(string message, XmlQualifiedName code) { _MyCustomProperty = CustomParameter; } } -- HTH, Kevin Spencer Microsoft MVP ..Net Developer
winnie
-
sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams] -
sorry for reposting this but i really need help on this one. i'm trying to fire a SoapException (thus returning it to my client) when an exception occurs. i've followed the steps in the documentation on how to set up a proper soap message (especially on how to provide a Details XmlNode). but once i run my webservice through the browser and call a webmethod firing such exception, i only get the Message-part of the SoapException back (as a string). what i'd need to get is a properly formatted SoapException with all the details i initially provided. does anyone know this problem? i guess i'm missing here something essential. kind regards!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams]