PDA

Click to See Complete Forum and Search --> : Webservice exception??


MrNorth
Nov 18th, 2004, 05:39 AM
I ahve a webservice that uses oracle to access a db

If an error occures, an oracleexception is thrown on the webservice... But this exception is never relayed to the client calling the webservice.. this is what I do in the webservice:


catch ex as oracleexception
publish(ex)
throw ex
...



I log the error on the webserver, and then I throw the exception up in the hierarcy.

Īs this wrong?


I want to be able to catch this exception on my client as well


/Henrik

plenderj
Nov 18th, 2004, 07:08 AM
So, if you remove *all* error handing, and an error occurs, the exception is not relayed to the user?