WS-Referral tutorial
Manipulating of message path on a WS-Routing enabled endpoints Routing path manipulation

## Example

In order to try the following example you need first to setup the RP-S-1 as it uses the endpoints defined there. Also this example needs at least 3 HTTP threads configured in order to work properly.

The VSP page demonstrates how routing path can be manipulated on a SOAP routers using the WS-Referral statements.

1. The example show inserting an intermediary router in routing path
2. Querying a router for already registered intermediary
3. Execution of a single call to an endpoint
4. Traveling of the message between client and endpoint via first and second router (added on step 1)
5. Removal of a registered intermediary
6. If step 1 is invoked twice sequentially an duplicates error will be shown
7. If step 3 is invoked before step 1 or after step 5, an error for missing intermediary from routing path is shown

Note: To determinate message routing path, see at content of 'rev' element in response message header when invoking the echoString operation.