Generate and consume Salesforce.com WSDL classes

Web Service Definition Language (WSDL) classes must be downloaded from Salesforce.com and used to generate classes for communicating seamlessly with Sterling Field Sales. Generation of WSDL classes must be done as part of the installation.

About this task

To generate and consume Salesforce.com WSDL Classes:

Procedure

  1. Download the standard Salesforce.com Partner WSDL.
    1. Log in to Salesforce.com as the administrator.
    2. Navigate to API screen.
    3. Click the Generate Partner WSDL link.
    4. The WSDL XML file is displayed. Save the XML file with the extension “wsdl” to a local directory. For example, Partner.wsdl.
  2. Download the Sterling Configure, Price, Quotes Managed Package Web service WSDL.
    1. Log in to Salesforce.com as the administrator.
    2. Navigate to Apex Classes screen.
    3. A table listing all the Apex classes is displayed. On the “SciQuotingHelper” Apex class row, click the WSDL link. The WSDL XML file is displayed.
    4. Save the XML file with the extension “wsdl” to a local directory. For example, SCIQuotingHelper.wsdl.
  3. Generate the WSDL classes and consume them in Sterling Field Sales. Perform the following steps for each of the WSDL files that you have downloaded. Ensure that you use Apache Axis version 1.4.
    1. Generate the Java™ source code files. For details on generating Java source code files, refer to the Web Services API Developer's Guide (Version 20 or earlier) on Salesforce.com.
    2. Compile the Java source code files into a JAR file.
    3. Include the JAR file in the Sterling Field Sales application classpath using the install3rdParty tool.
      Note: If you encounter problems generating WSDL classes, refer to the topic “Troubleshooting the Sterling Configure, Price, Quotes Managed Package Installation”.