2. It is assumed that you have very little programming
knowledge in JAVA and APEX for salesforce.com, or
the other SOFTWARES used in the process.
This guide is intended to give you a step by step
procedure to write a simple JAVA program and connect
to Salesforce.com.
This guide should approximately take 1 to 2 hours or
less to complete.
Copyright Forcetree.com
8. Install the Force.com plugin for ECLIPSE (optional)
Even though it’s optional, it’s highly recommended
that you do this step. Your future developments would
be dependent on this plugin
Copyright Forcetree.com
9. Follow the instructions as listed in the below URL
Copyright Forcetree.com
13. Download the ZIP file
Extract the ZIP file and save as C:axis-1_4
Download the following files
Activation.jar
Mail.jar
Xmlsec.jar
Extract these 3 supporting libraries and copy
the .jar files to the lib folder inside the WEB-
INF folder of your Axis installation folder. (image
shown in next slide)
Copyright Forcetree.com
15. Copy “activation.jar” and “mail.jar” and paste it into
the location shown below. Also, verify that the
contents of the location shown below is the same for
you.
Copyright Forcetree.com
16. Copy the axis folder inside the webapps folder of the
Axis distribution folder, to your Apache
Tomcat webapps folder. (as in the images shown
below)
Copyright Forcetree.com
20. Start your Apache Tomcat or restart it if you've got it running.
Access http://localhost:8080/axis. If you see the result like below
this, it means you have installed Apache Axis successfully. You can also
click the Validation link to check if your Axis' installation
configuration is fine.
Copyright Forcetree.com
21. The steps in this video are explained in the slides below.
Youtube URL: http://www.youtube.com/watch?v=tK2CiLb5vgc
Go to the next slide to play the video
Copyright Forcetree.com
22. Download the “Enterprise WSDL” as shown in the video.
Create a folder on your desktop called “demo2”. Create a folder inside
“demo2” called “Downloads”. Paste the “enterprise.wsdl.xml” file into
the “Downloads” folder.
Copyright Forcetree.com
23. Go to the command prompt and execute the following command.
C:Users436321Desktopdemo2>java org.apache.axis.wsdl.WSDL2Java -a
c:Users436321desktopdemo2downloadsenterprise.wsdl.xml
Copyright Forcetree.com
24. After you execute the command, a new folder called
“com” would be created inside your “demo2” folder.
Start “eclipse”.
Follow the steps outlined in the video in the next slide.
The JAVA program source code is also provided after
the video.
Copyright Forcetree.com
25. Go to the next slide to play the video
Youtube URL: http://www.youtube.com/watch?v=gAx0XVgne3w
Copyright Forcetree.com