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
- Download the standard Salesforce.com Partner WSDL.
- Log in to Salesforce.com as the administrator.
- Navigate to API screen.
- Click the Generate Partner WSDL link.
- The WSDL XML file is displayed. Save the XML file with
the extension “wsdl” to a local directory. For example, Partner.wsdl.
- Download the Sterling Configure, Price, Quotes Managed Package
Web service WSDL.
- Log in to Salesforce.com as the administrator.
- Navigate to Apex Classes screen.
- 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.
- Save the XML file with the extension “wsdl” to a local directory. For example,
SCIQuotingHelper.wsdl.
- 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.
- 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.
- Compile the Java source code files into a JAR file.
- 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”.