View Single Post
Old 10-13-2006, 10:08 AM   #1 (permalink)
jmack
Upright
 
Location: Detroit
anybody here familiar with webservices and vb.net???

im trying to do the simplest of things....

error handling for a webservice.

if the webservice is down, then do some error handling... for example:

webservice.url = "http://www.ass.com/fakeservice.asmx"

try
webservice.doshit()
catch
error handling stuff
end try

for whatever reason, it enters the "try" but doesnt throw the "Catch" it still throws an error "The request failed with HTTP status 404: Not Found."

why wont it throw the "catch"?

and is there any way to check to see if a webservice is available before you try running it?
jmack is offline  
 

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