No takers? Aw 'cmon...somebody must have an opinion (I always do...hehe) 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 ----- Original Message ----- From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, October 18, 2005 9:39 AM Subject: CFCs, webservices and CFTRANSACTION > 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 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221493 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

