function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LosintikfosLosintikfos 

Setting up eclipse for salesforce!

Hi experts,
 
 
Do anyone know why i can't resolve any of these impoirts in eclispe?
 

import com.sforce.soap.enterprise.AssignmentRuleHeader;

import com.sforce.soap.enterprise.LoginResult;

import com.sforce.soap.enterprise.QueryOptions;

import com.sforce.soap.enterprise.QueryResult;

import com.sforce.soap.enterprise.SaveResult;

import com.sforce.soap.enterprise.SessionHeader;

import com.sforce.soap.enterprise.SforceServiceLocator;

import com.sforce.soap.enterprise.SoapBindingStub;

import com.sforce.soap.enterprise.fault.InvalidIdFault;

import com.sforce.soap.enterprise.fault.InvalidSObjectFault;

import com.sforce.soap.enterprise.fault.LoginFault;

import com.sforce.soap.enterprise.fault.UnexpectedErrorFault;

import com.sforce.soap.enterprise.sobject.SObject;

 

All of the above cannot be resolved and really confuse! i have got all the classes generated from the enterprise WSDL also i have added the axis2 libraries to my build path! any technical advice?

 

B



Message Edited by Losintikfos on 07-16-2008 02:53 AM

Message Edited by Losintikfos on 07-16-2008 02:53 AM

Message Edited by Losintikfos on 07-16-2008 02:54 AM
david masonisdavid masonis
 
download quickstart.zip,  inside of this there are a .JAR to get into your PATH.
 
David Masonis
AB-TEL

 

LosintikfosLosintikfos

Thanks for the feedback David!

Is it all the jar files within the lib directory or the quickstart.jar withing the quickstart directory?



Message Edited by Losintikfos on 07-16-2008 03:35 AM
LosintikfosLosintikfos

I did take the chance to add the quickstart.jar onto my build path and that resolved almost all the import! Good stuff Dave. But one thing!

These imports didnt get resolved

import com.sforce.soap.enterprise.SforceServiceLocator;

import com.sforce.soap.enterprise.SoapBindingStub;

Do you know why?
david masonisdavid masonis
no? That is rare, only put the PATH already should be to go away quite correct. I tested it now these Imports, and to my if that recognizes them.
I tested it on JGrasp
LosintikfosLosintikfos
Do you think is something got to do with my server connection?
david masonisdavid masonis
i don't think that anything has that to see with the Connection, if somebody know more about it ...   :S
 
 
sorry
LosintikfosLosintikfos
Doest it mean i dont need a web server connecion to support the soap service?
SuperfellSuperfell
The sample code uses Axis 1.4, not Axis2, Axis2 is a completely different codebase with a similar name, they are not compatible.
LosintikfosLosintikfos

Hi Simon,

 

Do you know if there's any sample code for axis2..

 

SuperfellSuperfell
There's bits and pieces floating around on various blogs, i don't know of a full set of samples using axis2. (I'd recommend you stick with Axis 1.x)
LimenitisLimenitis

Hi all ,
 
  Can anyone bring out the difference between a regular API and an Apex API. Is that means the usage of the URL's.Please brign out the difference soon..
 
is that the usage of the url https://www.salesforce .com is the regular and the https://login.salesforce .com is APEX?
 
seeking your reply..
 
thanks
LosintikfosLosintikfos
Well the difference is pretty simple!

Apex API can be use to invoke on the production or sandbox but is expected to sit on the appexchange server (many occations). Whereas the regular API can be described as objects derived from WSDL to enable your in-house applications to interract/integrate with with salesforce. Instances where you create APex classes sitting on your in-house development platform, you will be using the WSDL API (regular API in this case) to invoke sforce.


Hope this gives you an overview:smileywink:




Message Edited by Losintikfos on 07-23-2008 12:44 AM
LimenitisLimenitis

Hi all ,

Can you please help me out for the following issue..

See i have Created a Force.com IDE in my Eclipse environment 3.3, now i am able to extract the data through the userid and password but not able to move it to a text file , is there any possibility to achieve this task , please let me know it any...

 

Seeking your reply soon

 

thanks ,

Sharma ramanathan 

LimenitisLimenitis

Hi all ,

Can you please help me out for the following issue..

See i have Created a Force.com IDE in my Eclipse environment 3.3, now i am able to extract the data through the userid and password but not able to move it to a text file , is there any possibility to achieve this task , please let me know it any...

 

Seeking your reply soon

 

thanks ,

Sharma ramanathan 

LosintikfosLosintikfos
Your request sound abit vague! make it more self explanatory -  do you want to extract data from API and pipe it to a text file or you want to do a normal SOQL select?