>I am having a Webservice within which i am throwing SOAP Exceptions and
> therefore whenever something wrong happens a SOAP fault comes up in the
[quoted text clipped - 14 lines]
> How can i add the fault elements within my WSDL? where will the fault
> elements come and how will they look like?
.NET will not generate fault elements in your WSDL. You will either have to
create your own WSDL file or do without fault elements.
Your other choice would be to switch to WCF, which does allow you to define
faults and will add them to the WSDL.

Signature
John Saunders [MVP]
Manpreet Sushil - 24 Aug 2007 00:34 GMT
Hi John,
Thanks for your reply. I have no idea at all about WCF. Can ypu please point
me to some resources where i can learn how to add fault elements within my
customer WSDL. Your help will be much appreciated.
> >I am having a Webservice within which i am throwing SOAP Exceptions and
> > therefore whenever something wrong happens a SOAP fault comes up in the
[quoted text clipped - 20 lines]
> Your other choice would be to switch to WCF, which does allow you to define
> faults and will add them to the WSDL.
Manpreet Sushil - 29 Aug 2007 02:06 GMT
I have been able to resolve this by referring to the W3 Website. thanks for
your help anyway.
> Hi John,
>
[quoted text clipped - 26 lines]
> > Your other choice would be to switch to WCF, which does allow you to define
> > faults and will add them to the WSDL.