Using Web Service Addressing
Web Services Addressing or WS-Addressing allows Web Services to communicate addressing information by providing a standard way to include message routing data within the SOAP headers.
Adeptia Suite allows you to use WS-Addressing at the WS Consumer Activity level. To enable it in a WS Consumer activity, you can either dynamically define the message addressing properties or manually enter them while creating the activity.
If you want to manually enter the values, create a WS Consumer activity, expand the WS-Addressing properties, and select the Enable WS-A addressingcheck box. Note that each parameter of a WS-Addressing property has a corresponding Override checkbox. If you select that checkbox, then the WS Consumer activity will use the values or parameters in the corresponding context process flow and would ignore the parameters or values in the text boxes. However, if you do not select this checkbox then the WS Consumer activity will use the values or parameters of this section for the respective WS Consumer Activity.
Steps to Use Web Service Addressing (WS-Addressing)
To use WS-Addressing, while creating Web Service Consumer activity please expand WS-A addressing properties (see Figure 326).
Figure 326: Define WS-Addressing Parameter
- Check the Enable WS-A addressing check box and define all the parameters.
- If you want to override WS-Addressing Parameters' values dynamically then you need to check the "Override" checkbox. The following table lists all the WS-A Parameters and their respective context variables.
Table 1: WS-Addressing Parameter and Corresponding Variable
WS-Addressing Parameters | Variable Name |
---|---|
Must Understand | WSMUSTUNDERSTAND |
WS-A Version | WSAVERSION |
Action | WSACTION |
To | WSTO |
Reply To | WSREPLYTO |
Reply To Reference Parameters | WSREPLYTOREFERENCEPARAMETERS |
Message ID | WSMESSAGEID |
From | WSFROM |
Fault To | WSFAULTTO |
Fault To Reference Parameters | WSFAULTTOREFERNCEPARAMETER |
Relates To | WSRELATESTO |
Relationship Type | WSRELATIONSHIPTYPE |
To override the WS-Addressing parameter, you need to set the value of corresponding variables within the process flow.