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:sendBizDoc
 
wm.ip.ebxml.MSH:sendBizDoc
Sends the content parts of an existing BizDocEnvelope object as an ebXML message. This service must be used with a TPA.
Input Parameters
bizdoc
Object The BizDocEnvelope object that contains the business document that you want to send. The DocumentID of the bizdoc is used as the MessageId for the ebXML message.
Packaging
Document list (optional) The packaging information.
partName
String The name of the content part in the bizdoc object that you want to send.
partID
String The packaging ID for wrapping this content part. It must be one of CollaborationProtocolAgreement.Packaging.SimplePart.id in com.wm.estd.ebxml.documents.CPA1.cpa_1 (for CPA 1.0)and CollaborationProtocolAgreement.SimplePart.id in com.wm.estd.ebxml.documents.CPA1.cpa_2 (for CPA 2.0)
CPAId
String The CPA ID. It must be a valid agreementID for a TPA.
ConversationId
String (optional) The conversation ID. If it is not present, the conversation ID in the bizdoc will be used.
action
String Specifies the action to be executed for any instance of the bizdoc. This value must correspond to one of the action values specified in the TPA. By default, the first action specified by the TPA on the sender side is used.
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.