web service task and exception

  • i am working on a package where i send the employee ID from a table column to the webservice task which is present in For Each loop container.

    it works fine but incase if i am passing the employee ID which the webservice can't fetch the data it throws an exception saying employee ID not found and it stops the entire process

    i want to go thru the entire process and mark those records which the webservice can't find.

    Any help

  • keywestfl9 (8/3/2009)


    i am working on a package where i send the employee ID from a table column to the webservice task which is present in For Each loop container.

    it works fine but incase if i am passing the employee ID which the webservice can't fetch the data it throws an exception saying employee ID not found and it stops the entire process

    i want to go thru the entire process and mark those records which the webservice can't find.

    Any help

    Hi!

    You must use the lookup task before call the web task, the lookup task has to valid outputs, one for match and one for no match, so you can do something when the not match occurs.

    I think this will help you.

    Regards

  • Thanks for the information.

    i can't find out before the websevice task if there is going to be any error or not.

  • keywestfl9 (8/4/2009)


    Thanks for the information.

    i can't find out before the websevice task if there is going to be any error or not.

    Ok, may be you need use both error and success task flow, and when the web service fail flow thru the error, so you can do something about that.

    Regards

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply