Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WSDL Fault Operation for generic SoapException?

Reply
Thread Tools

WSDL Fault Operation for generic SoapException?

 
 
karlid42@gmail.com
Guest
Posts: n/a
 
      09-12-2006
hi,

Perhaps this is a stupid question but I need to ask it. How do I
construct the WSDL such that the fault operation of a service reflects
the service returning a standard SoapException? I don't need any fancy
custom error messages. I just need to send a soap exception back. The
reason it needs to be defined in the WSDL is for compliance purposes
with other platforms. Here's my code right now. Does the WSDL match
the exception? If not, how do I work it out?


WSDL:

<fault name="error">
<soap:fault name="error" use="literal"/>
</fault>

C#:

throw new SoapException("error description");


thanks in advance,

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM
WSDL: Only one fault per operation? Oliver M. Bolzer Ruby 2 11-12-2003 03:00 AM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP .Net Web Services 0 08-13-2003 06:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57