Header sample.gif

Overview

This sample contains code designed to help you begin using Apex API 8.0 quickly with JAX-WS Reference Implementation. JAX-WS is the java standard API for web services. JAX-WS is part of the standard Sun Java Developer's Kit (JDK). This package depends on JAX-WS RI 2.1.1 (included) which will ship with the JDK as part of Java 7.

REQUIREMENTS

Download

QuickStart.zip - Quickstart package
Enterprise.zip - More codes samples for the Enterprise WSDL

Package Content

This QuickStart archive contains:

quickstart.jar Contents described below, use winzip or other compressed file utility to extract jar contents.
lib folder Contains JAX-WS RI, JAXB RI, andall dependent jar files to run the sample
quickstart.java in org.salesforce.quickstart Provides a simple example of using the Apex Api 8.0 Web services
com.sforce.soap.enterprise family of packages A set of files generated by the JAX-WS wsimport emitter run against the Developer Edition version of the enterprise WSDL
enterprise.wsdl Standard Developer Edition version of the WSDL
java files All the source required for compiling and stepping through the sample

Your specific WSDL can be generated by logging in to salesforce.com and clicking on Setup. Once in the setup area you can click on the Customforce link and then the Integrate link and then the WSDL Generator link. Follow the instructions on the WSDL Download page that is displayed.

RUNNING

  1. Unzip the files contained in the QuickStart.zip file to a folder on you hard drive.
  2. Include the path to the jre in your path environment variable.
  3. Run the run.bat file.

DOCUMENTATION & SUPPORT

API Documentation is available at http://www.salesforce.com/developer.

This sample is provided as-is, and while no official support is available, community forums are available for developers to post their questions to at http://community.salesforce.com/sforce?category.id=developers. The sforce starter kit is only for demonstration purposes. Java programmers should look at the source code in quickStart.java to learn more about how to use the Apex API web service.