Web service CF

M

Miriam Niggles

Hi!

In my app (WinMobile 5.0 + CF 3.5 i´m inserting rows to a DB via 4 web
service ) like this:

try
{
Call WS1
Call WS2
Call WS3
Call WS4

}
catch....


My question is: if i have an error in WS3, how can i make a rollBack of WS2
and WS1 ?

Thanks in advanced
 
D

DickGrier

Hi,

I'd think this would depend on the Web service. If the service provides a
method for rollback, then call it. Otherwise...?

The essence of a service architecture is that the service provides the
granularity for such operations; code on the device can only call methods
that the service exposes.

Dick

--
Richard Grier, Consultant, Hard & Software 12962 West Louisiana Avenue
Lakewood, CO 80228 303-986-2179 (voice) Homepage: www.hardandsoftware.net
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004, Revised July
2006.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top