Jonese, You don't have to type objects in CF... You can just call stuff directly:
<cfscript> getTaxResult = port.getTax(getTaxRequest); </cfscript> Assuming that "port" already exists and getTagRequest already exists. ...................... Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -----Original Message----- From: jonese [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 5:26 PM To: CF-Talk Subject: Who do i write this JAVA in CF? Ok I've got an object called port and I've done all the stuff i need to it and now i need to call a function inside my port object called getTax and pass it another object i created call getTaxRequest. All of these object are java object created using the CreateObject method in CF. but i'm a bit baffeled by this line of java code: GetTaxResult getTaxResult = port.getTax(getTaxRequest); I know what it's doing in java. it's creating a new var called getTaxResult of object type GetTaxResult but I'm not sure how to translate this to cfscript code. Do i need to use the javacast function some how to achieve this?? thanks in advance jonese ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4