Creating a Web Service Consumer Transformation
You can create a reusable or non-reusable Web Service Consumer transformation. Reusable transformations can exist in multiple mappings. Non-reusable transformations exist within a single mapping.
You can create Web Service Consumer transformations for a SOAP 1.1 binding and a SOAP 1.2 binding from a single WSDL object.
1. To create a transformation, use one of the following methods:
Option | Description |
---|
Reusable | Select a project or folder in the Object Explorer view. Click File > New > Transformation. Select the Web Service Consumer transformation and click Next. |
Non-reusable | In a mapping or mapplet, drag a Web Service Consumer transformation from the Transformation pallette to the editor. |
The New Web Service Consumer Transformation dialog box appears.
2. Browse and select a WSDL data object to define the web service request and response messages.
If the WSDL is not in the repository, you can import the WSDL from the New Web Service Consumer Transformation dialog box.
3. Browse and select an operation from the WSDL.
You can choose an operation that has a SOAP 1.1 binding or SOAP 1.2 binding.
4. Click Next.
The Map Ports to the Operation Input screen appears. The Ports area shows the transformation input groups and input ports. The Operation Input area shows the request message hierarchy.
5. Define the input groups and input ports and map the input ports to operation input nodes.
6. Click Next.
The Map Ports from the Operation Output screen appears. The Operation Output area shows the response message hierarchy. The Ports area shows the transformation output groups and output ports.
7. Define the output groups and output ports, and map the operation output nodes to the output ports.
8. Click Finish.
9. Click the Advanced view to configure the transformation properties and the web services connection.