Hey All,

The setup:
I have webservices that are essentially wrappers for internal CFCs.  They 
perform some added valoidation, but essentially pass arguments through to 
internal CFCs.  They often call multiple internal CFCs which each have a 
CFTRANSACTION block.

The problem:
I really need ALL the methods called by the webservices to either to commit the 
data they are attempting to or all data changes across all methods called by a 
webservices should be rolled back.  Of course as we know you cannot nest 
CFTRANSACTION blocks.

So whatya think I should do?

I did think of removing the CFTRANSACTION blocks from the internal CFCs, but 
that doesn't seem right.....then developers would have to know to wrap calls to 
the methods in those CFCs with CFTRANSACTION....and that flys in the face of 
the "black box" characteristics of CFCs....all you should need to know about 
them is their name and the arguments and associated data types (it would also 
mean webservice consumers could skip the CFTRANSACTION step and screw my data).

TIA

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221341
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to