soapexception

How do I debug mangled soap requests?

Lately, we've been seeing exceptions like this in our .NET (.asmx) webservices: System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (868, -3932). ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 86...

show webservice soapexception response in the client in ASP.NET

Hi All I am trying to make a Test Webservice and throw a SoapException. But when I open the service through browser, it shows Internal server error - 500. If i try to consume it manually by sending a manually created SoapRequest (in stringbuilder), I get the same error "Servererror - 500" in Visual Studio itself in the line "WebRespons...

Debug SoapExceptions from CRM

When a SoapException is issued by a CRM (4.0) web service. Is there anywhere in CRM you can get more details on the exception? Is there a configuration that I can change to load the details of the exception with what happened in CRM? ...

'Cast object of type' error - resolved by IIS recycle

3rd party ASP.Net web site and web service installed. The code appears not to log errors to server log or custom error log. User receives the following critical untrapped error message: "System.Web.Services.Protocols.SoapException: Unable to cast object of type 'System.Security.Principal.WindowsIdentity' to type 'Library.Security.Iden...