---------------------
import com.sforce.soap.enterprise.sobject.Account;
and then the code does this to create the object:
Account account1 = new Account();
---------------------
Oh and I'm using SOAP
In CF I use
<cfset this.sfdc =
createObject("webservice",arguments.wsdluri) />
How can I generate the Account object in CF.
And it seems that I can't access the Account object
(class?) at all or maybe I'm just being dumb.
This doesn't work:
<cfset accountobj =
createObject("java","com.sforce.soap.enterprise.sobject.Account")
/>
I can access the methods of the soap object.
com.sforce.soap.enterprise.SoapBindingStub
Am I missing something basic?
-Joshua O'Connor-Rose
-All is Good
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]