Module for AS4 Version 10.1.May 2019 | Understanding and Using webMethods AS4 Module | Installing and Using AS4 Module | Built-In Services | Summary of Elements for the WmAS4 Package | wm.ip.estd.as4.msh:userMessageSubmit
 
wm.ip.estd.as4.msh:userMessageSubmit
Enables the sender to submit a user message to the responding MSH, which packages the payload into a user message and sends it to the initiating MSH.
Input Parameters
refToMessageId
String. Identifier that refers to the request message’s messageId.
messageId
String Optional. Unique identifier of the user message. If no value is specified, Module for AS4 generates a unique messageId.
When the message is generated, the value of this parameter maps to
Messaging/UserMessage/MessageInfo/MessageId
.
partInfo
Document List. Metadata for the partContent parameter.
The values specified map to the Messaging/UserMessage/PayloadInfo/PartInfo element.
Parameter
Description
type
String. Way in which the partContent needs to be packaged. Valid values are:
*MIME PART—partContent is packaged as MIME attachment.
*SOAP BODY—partContent is packaged in the SOAP body.
*EXTERNAL REFERENCE—partContent is an external reference.
id
String. ID of the partContent.
schemaLocation
String. URI of the schema.
The value of this parameter maps to the location attribute of the Messaging/UserMessage/PayloadInfo/PartInfo/Schema element.
schemaVersion
String. Version identifier of the schema.
The value of this parameter maps to the version attribute of the Messaging/UserMessage/PayloadInfo/PartInfo/Schema element.
schemaNamespace
String. Target namespace of the schema.
The value of this parameter maps to the namespace attribute of the Messaging/UserMessage/PayloadInfo/PartInfo/Schema element.
description
String. Description of the partContent.
The value of this parameter maps to the Messaging/UserMessage/PayloadInfo/PartInfo/Description element.
property
Document List. Optional. List of name value pairs that are sent along with the message.
The value of this parameter maps to the Messaging/UserMessage/PayloadInfo/PartInfo/PartProperties element.
Note:
If you want the final AS4 payload of MIME type application/octet-stream, then add the property name to be of MIME type and value as application/octet-stream.
Parameter
Description
name
String. Name of the property.
The value of this parameter maps to the name attribute of the Messaging/UserMessage/PayloadInfo/PartInfo/PartProperties/Property element.
value
String. Value of the property.
The value of this parameter maps to the Messaging/UserMessage/PayloadInfo/PartInfo/PartProperties/Property element.
property
Document List. Optional. List of name-value pairs that are sent along with the message.
These pairs map to the zero or more Property child elements within Messaging/UserMessage/MessageProperties.
Parameter
Description
name
String. Name of property.
value
String. Value of property.
partContent
InputStream. Optional. Array of all the MIME attachments. Each element within the array must have a corresponding partInfo.
Note:
If partInfo is not specified for partContent, then SOAP BODY is considered as the default partInfo type.
Output Parameters
The output of the service will be an input for existing wm.ip.estd.as4.msh:submit service.