Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:route
 
wm.tn.route:route
Processes the specified document using the specified processing rule.
Input Parameters
bizdoc
Object The document to process. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope.
rule
Object The processing rule to use to process the specified document. The processing rule must be an instance of com.wm.app.tn.route.RoutingRule.
Output Parameters
The output that the service returns depends on the processing actions (specified in rule) that the service executed.
If rule specifies…
The wm.tn.route:route service returns:
Execute a Service action (but not the Respond with action)
The output from the executed service
Respond with action
$-responseTime and $responseBytes if the service was invoked by a client (for example, a Java client or C/C++ client). If the service was invoked by a browser client, the wm.tn.route:route service returns nothing.
Other
Nothing