Re: translating java to CF
Did that, compiled the jar file now I'm able to create the objects . . . now I have other problems. Is there a list where I can discuss create and update issues? for sforce I keep getting this error: Web service operation create with parameters [EMAIL PROTECTED] could not be found. The error occurred in sfproducts.cfc: line 44 42 : cfelse 43 : cfset sObjects[1] = updateProduct 44 : cfset update_result = this.sfdc.create(sObjects) 45 : /cfif 46 : cfreturn update_result - -Joshua O'Connor-Rose -All is Good --- Sean Corfield [EMAIL PROTECTED] wrote: On Mon, 27 Sep 2004 13:58:46 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: We have not. I have a bunch of generated .java files from the sforce web site and I am suggesting that we just use those. Is that the direction I should take with this? You would need to compile those and put them in CFMX's classpath. Doesn't sforce.com have a precompiled JAR of the objects? Easier to put that on the classpath. Either way, CFMX needs to be able to load the sforce.com objects in order for you to be able to create those objects... -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
translating java to CF
so if the header in Java says this: - 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]
Re: translating java to CF
Have you added the compiled Java class files to your CFMX class path? On Mon, 27 Sep 2004 13:21:10 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: so if the header in Java says this: - 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. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: translating java to CF
Just the guy I wanted to hear from. We have not. I have a bunch of generated .java files from the sforce web site and I am suggesting that we just use those. Is that the direction I should take with this? It seems to me to be the obvious choice. In fact would adding all the generated java files be a good thing? Since I seem to be only having problems with generating the objects. Actualy we are right now fighting with dreamweaver and a proxy generator to look at sforces wsdl file. -Joshua O'Connor-Rose -All is Good --- Sean Corfield [EMAIL PROTECTED] wrote: Have you added the compiled Java class files to your CFMX class path? On Mon, 27 Sep 2004 13:21:10 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: so if the header in Java says this: - 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. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: translating java to CF
On Mon, 27 Sep 2004 13:58:46 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: We have not. I have a bunch of generated .java files from the sforce web site and I am suggesting that we just use those. Is that the direction I should take with this? You would need to compile those and put them in CFMX's classpath. Doesn't sforce.com have a precompiled JAR of the objects? Easier to put that on the classpath. Either way, CFMX needs to be able to load the sforce.com objects in order for you to be able to create those objects... -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]