ebXML Module 7.1 SP1 | Understanding and Using webMethods EBXML Module | Installing and Using ebxml Module | Built-In Services | MSH Folder (wm.ip.ebxml.MSH) | wm.ip.ebxml.MSH:routeUsingTPA
 
wm.ip.ebxml.MSH:routeUsingTPA
Routes a TN document type such as Default, Payload, Receipt to the next MSH, using intermediary parties, optionally with additional payloads.
This service constructs an ebXML Message and submits it to the internal queue as a task to be processed.
Input Parameters
bizdoc
Object A BizDocEnvelope object that uses the ebXML Routing TN document type. For information on the sub-parameters of bizdoc, see the webMethods Trading Networks Administrator’s Guide for your release.
Payloads
Document list (optional) New business document to forward to the next MSH.
partID
String The packaging ID for wrapping this document. It must be identical to one of CollaborationProtocolAgreement.Packaging.id in com.wm.estd.ebxml.documents.CPA1.cpa_1 (for CPA 1.0)and CollaborationProtocolAgreement.Packaging.id in com.wm.estd.ebxml.documents.CPA1.cpa_2 (for CPA 2.0)
stream
InputStream A business document in Java.io.InputStream form.
Output Parameters
messageId
String The message ID for the ebXML message.
errorMsg
Document Error information.
errorCode
String The ebXML error code.
severity
String The error severity. It can have two values, either Error or Warning.
location
String The XPATH of the error location.
errorMessage
String The error message.
codeContext
String The context of the error message.