all groups > dotnet general > july 2004 >
You're in the

dotnet general

group:

Web Services question


Re: Web Services question Rick Sawtell
7/17/2004 7:04:18 AM
dotnet general: There are many different ways that you could approach this problem.

Just like any other function out there, you could create a return value that
specified whether or not a procedure or function successfully completed.

You could simply send back an empty resultset instead of actual data.

And so forth.


HTH

Rick Sawtell
MCT, MCSD, MCDBA




[quoted text, click to view]

Web Services question Frazer
7/17/2004 4:39:11 PM
hi,
if my webmethod fails (eg database server is down) how do i send this
message back to the caller of the web method.
thanx

Re: Web Services question Nick Malik
7/17/2004 6:26:46 PM
Sure, Raise a SOAP exception.

See this article
http://www.developer.com/net/csharp/article.php/10918_3088231_1

--- Nick

[quoted text, click to view]

AddThis Social Bookmark Button