WSDL files contain numerous components that describe interface, datatype, binding, and addressing information necessary for accessing and using a web service. PowerExchange for Web Services displays the following WSDL file components in the Import from WSDL (Web Services Consumer) window when you import a web service operation:
Service.
Contains groups of related ports. Each port defines an endpoint, which enables remote systems to connect to the service. The services section of the WSDL file defines each port’s type, binding, and SOAP network address. Services contain one or more ports.
Port.
Defines the connection between bindings and the information required and returned by the web service. Each port defines a binding.
Binding.
Defines a protocol and data format for each operation. Each binding defines the format for one or more operations.
Operation.
Describes a program that performs an action, such as retrieving an order number. PowerExchange for Web Services supports request-response and one-way operations. Web service operations contain input and output messages. Input and output messages in the WSDL file contain the XML data that PowerExchange for Web Services uses to determine the groups and columns in the web service source and target definitions and Web Services Consumer transformations.
The following figure shows the relationship of WSDL file components:
A web service can contain numerous ports, which can contain numerous web service operations. The web service provider can make the same operation accessible from different ports. For example, the provider can bind an operation to a WSDL file with both a SOAP interface and an HTTP GET interface. This requires that two different ports contain the web service operation.
When you import a web service operation, you see the WSDL file component hierarchy in the Import from WSDL (Web Services Consumer) window so that you know which port contains the operation. You import a web service operation for a web service source definition, a web service target definition, and a Web Services Consumer transformation.
The legend in the Import from WSDL (Web Services Consumer) window indicates services, ports, bindings, and operations. You can only import web service operations. Services, ports, and bindings are not available to import.