Hi!
We are using ASMX web service with WSE (we're using WS-Addressing) and
IIS returns HTTP status code 200 even if XML is malformed (it can
contain illegal characters in it).
The request does not get through the stack to the application, but if
I debug the application, I can see that exception is thrown somewhere
"down there".
Is there a way to prevent IIS from returning HTTP status code 200 if
the XML is not valid?
A first chance exception of type 'System.Xml.Xml Exception' occurred in
System.Xml.dll
A first chance exception of type 'System.Invalid OperationExcept ion'
occurred in System.Xml.dll
A first chance exception of type
'System.Web.Ser vices.Protocols .SoapException' occurred in
System.Web.Serv ices.dll
Thanks,
Miha.
We are using ASMX web service with WSE (we're using WS-Addressing) and
IIS returns HTTP status code 200 even if XML is malformed (it can
contain illegal characters in it).
The request does not get through the stack to the application, but if
I debug the application, I can see that exception is thrown somewhere
"down there".
Is there a way to prevent IIS from returning HTTP status code 200 if
the XML is not valid?
A first chance exception of type 'System.Xml.Xml Exception' occurred in
System.Xml.dll
A first chance exception of type 'System.Invalid OperationExcept ion'
occurred in System.Xml.dll
A first chance exception of type
'System.Web.Ser vices.Protocols .SoapException' occurred in
System.Web.Serv ices.dll
Thanks,
Miha.
Comment