WSDL files
A WSDL file is an XML-like file that details the full specification for an integration. It includes details for the API, including the following:
- Endpoints for connecting
- Data types within the API
- Service binding information
- Interfaces defined for binding to
- Operations available for the API
This description of the API is extremely detailed and ensures that each system knows which data to send and expect back as part of this integration. It also allows systems to use this information to generate a set of classes and methods that enable the developer in the integrating system to work with the external system as if it were part of their own application, with allowance made only for the time delay for the integration (this is of particular importance to Salesforce developers, who must be aware of governor limits within their applications).
Once we have a WSDL file to work with, we can generate Apex using the built-in Salesforce tool. Let us...