can webservice raise error at client side?


hi

i new asp.net web services.

i have developed websevice using vb , soap, raising error @ client side writting  err.raise in service.

 

is there similar this in asp.net  web services?

 

thanks

sandy

hi,

you have create instance of exception object , have throw that.for ex:

throw new exception("new exception");

 

see

http://msdn2.microsoft.com/en-us/library/ms173160(vs.80).aspx

for more info exceptions & exception handling.

 

thanks,

ch.t.gopi kumar.



Archived Forums A-B  >  ASMX Web Services and XML Serialization



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

How to fix error Msg 1801, Level 16, State 3, Line 1

How to Share webservice object to all user