Exception thrown by webservice and caught by ASP.NET application

M

Mark

We have an internal web service that intentionally allows raw Exceptions to
be thrown to the clients that consume it. This web service is consumed by
internal ASP.NET applications. When the exception is caught by an ASP.NET
application, the amount of detail in the SOAP exception is limited. There
is no inner exception. However, if the exception is interegated by the
webservice before its thrown, it contains tons of information, including a
relevant stack trace. Is there a way for the client of the web service to
see this same level of exception detail?

Thanks in advance.

Mark
 
C

Craig Deelsnyder

Mark said:
We have an internal web service that intentionally allows raw Exceptions to
be thrown to the clients that consume it. This web service is consumed by
internal ASP.NET applications. When the exception is caught by an ASP.NET
application, the amount of detail in the SOAP exception is limited. There
is no inner exception. However, if the exception is interegated by the
webservice before its thrown, it contains tons of information, including a
relevant stack trace. Is there a way for the client of the web service to
see this same level of exception detail?

Thanks in advance.

Mark

you have to build a SOAP extension to add the details into the XML:

http://www.codeproject.com/soap/ExceptionalSoapExtension.asp

note the security concerns in that article of doing this, and possible
cross-platform issues (unknown)
 

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

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top