Ask a Question related to ASP.NET Web Services, Design and Development.
-
David Hayward via .NET 247 #1
SOAP Header Not Sent If Exception Thrown
Hi--
I have a .NET web method that returns a soap header. The headersare included in the response when the web method completessuccessfully. However, they are not included if the web methodthrows an exception.
I've confirmed that the code is correctly instantiating mySoapHeader-derived class before returning a soap Fault.
Is there something that precludes a header from being included inan envelope if the body includes a fault? These seems to be thebehavior I'm experiencing. Is there some trick for having theheader included regardless of whether or not there is anexception?
Thanks.
--------------------------------
From: David Hayward
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>fMEW+En6SU2s43Wnkbn6Rw==</Id>
David Hayward via .NET 247 Guest
-
#40024 [NEW]: Able to thrown an Exception in a Destructor
From: php at girsbrain dot org Operating system: Windows XP SP 2 PHP version: 5.2.0 PHP Bug Type: Class/Object related Bug... -
Exception Thrown in Native Function
Hi. I tried to install contribute 3 on clients computer yesterday to edit www.teaute.school.nz but when I went to edit the page it would half load... -
error A License Exception has been thrown
:D I have been experiencing the same License Exception problem myself, with a new installation of Coldfusion 6.1. Enterprise Edition. As... -
A License Exception has been thrown.
A License Exception has been thrown. You tried to access the developer edition from a disallowed IP (220.89.252.50). The developer edition can only... -
I'm getting the following exception thrown
The underlying connection was closed: The server unexpectedly refused to keep the connection alive. Which is interesting in that this exception...



Reply With Quote

