wm.tn.task:changeServerForTask
Moves a task from one server to another when using Trading Networks in a clustered server environment.
Input Parameters
taskId | String The internal identifier for the task to move. |
serverId | String Host name of the server to which to move the task. |
Output Parameters
None
Usage Notes
![*](chapterTOC_bullet.png)
If
taskId is not valid, the service throws an exception. For more information about reassigning tasks to another server, see
webMethods Trading Networks User’s Guide.
![*](chapterTOC_bullet.png)
The
wm.tn.task:changeServerForTask service invokes the
wm.server:connect and
wm.server:ping services. As installed,
wm.server:connect and
wm.server:ping are protected by the Anonymous ACL. To update the Anonymous ACL or use a different ACL to protect the
wm.server:connect and
wm.server:ping services, the
wm.tn.task:changeServerForTask service may be unable to reassign the task.