|
-
Jan 19th, 2007, 08:38 AM
#1
Thread Starter
Addicted Member
can you pass data back with an exception
Hello
I have a test application that calls a web service method.
This method adds a document to a database, then retrives the doc id and then performs another operation using the doc id then the doc id is returned to the test application.
Problem is if the document is added and the doc id retrieved and something goes wrong in the second oepration and an exception is thrown back then the user does not get the doc id even tho the first operation completed successfully.
is it possible to pass the doc id back along with the exception when it is thrown.
or
is splitting this one method into two sub methods a betetr option and then call the sub methods seperatly from the test application?
or what other way could i do this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|