a sample web service to return SOAP fault message for application error

R

rahulkr.iitk

Hi,

I'm looking for a free web service, which can return back SOAP fault
message in case of an application error filling <detail> element in
SOAP.
I couldn't find one on xmethods.net.
 
J

John Saunders [MVP]

Hi,

I'm looking for a free web service, which can return back SOAP fault
message in case of an application error filling <detail> element in
SOAP.
I couldn't find one on xmethods.net.

All you have to do is throw a SoapException. Look up SoapException on MSDN
and you'll see how to fill in the <detail/> element.
 

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,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top