/force_platform_cookbook

Page 236

Chapter 7: Integrating Applications with the API and Apex

custom objects or fields. Additionally, you can't use it to create solutions that can work for multiple organizations. Partner WSDL The partner WSDL is a loosely typed WSDL document for customers, partners, and ISVs who want to build an integration or an AppExchange app that can work across multiple Salesforce.com organizations. With this WSDL document, the developer is responsible for marshaling data in the correct object representation, which typically involves editing the XML. However, you're also freed from being dependent on any particular data model or Salesforce.com organization. Consequently, if you use the partner WSDL, you only need to download and consume it once, regardless of any changes to custom objects or fields. Outbound Message WSDL The Outbound Message WSDL document is for developers who want to send outbound messages from a workflow rule or approval process to an external service. Apex WSDL The Apex WSDL document is for developers who want to run or compile Apex scripts in another environment. Metadata WSDL The Metadata WSDL document is for users who want to use the Metadata API to retrieve or deploy customization information, such as custom object definitions and page layouts. See “Understanding the Metadata API” in the Force.com Metadata API Developer's Guide. Delegated Authentication WSDL The delegated authentication WSDL document is for users who want to created a delegated authentication application to support single-sign on. You can also download a client certificate for validating requests generated by Salesforce.com.

Generate a WSDL Document If you want to generate a WSDL document other than an Outbound Message WSDL document, log in to your Salesforce.com organization and click Setup ➤ Develop ➤ API. Right-click the WSDL document you want to generate, and select Save Link As in Firefox, or Save Target As in Internet Explorer. If you want to view a WSDL document without downloading it, simply click the download link for the WSDL document you want to view. 230


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.