Results 1 to 2 of 2

Thread: Webservice exception??

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    Webservice exception??

    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

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    So, if you remove *all* error handing, and an error occurs, the exception is not relayed to the user?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width