Creating a Mapping
The Mapper automatically populates the left-hand and right-hand sides of the tab with the appropriate data.
On the Input to Service or Output from Process tab:
- The left-hand side displays the parameters and data fields available to this task or event, as defined on the Interface tab.
- The right-hand side displays the service input or output parameters defined for the selected operation (in the WSDL document) that is being called.
On the Output from Service tab (which is only displayed for a service task invoking a request-response operation):
- The left-hand side displays the service input or output parameters defined for the selected operation (in the WSDL document) that is being called.
- The right-hand side displays the parameters and data fields available to this service task, as defined on the Interface tab
To perform a mapping, simply drag and drop the parameter or data field that you want to map from one side onto the appropriate service input or output parameter on the other side. A mapping is created between the two entities.
The following example shows the Output From Service tab for a service task. The claimApproved parameter, which is the only output parameter defined for the selected operation in the associated WSDL document, is mapped to the process parameter ClaimStatus. This field will therefore store the claimApproved value returned by the web service.