Help, how to surpress an exception?

T

Tarun Mistry

hi everyone, I am using HttpWebRequest and Response todo some manual message
passing (using SOAP).

However, when a SOAP fault occurs, my server must report a 500 error, which
is fine, however this causes a webException on the client, which prevents me
getting the SOAP message out of the response.

Is there any way to prevent this WebException being thrown, as it prevents
downloading of the SOAP fault message (which is fine).

As for why the 500 is thrown, this is part of the SOAP specification.

Thanks to everyone,
With kind regards
Taz
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top