CSSEAIIntMsgOut
This object represents an output integration message that is open for writing. The object provides CreateIntObj and SetArgument methods:
CreateIntObj() Method
This method creates a new integration object. The following information presents the parameter for this method.
Syntax
CreateIntObj(name)
Parameter | Description |
---|---|
name |
Creates a new integration object and adds it to the integration message. |
Returns
CSSEAIIntObjOut Output Integration Object
Usage
An integration message can contain only one integration object, so multiple calls to this method on one integration message raises an error. The name must agree with the business service argument OutputIntObjName, if that argument is passed to the service.
SetArgument() Method
This method sets the value of a business service argument. The following table presents the parameters for this method.
Syntax
SetArgument(name, value)
Parameter | Description |
---|---|
name |
The name of an argument in the active business service. |
value |
The string value corresponding to the argument named by the name parameter. |
Returns
Not applicable
Usage
You can call the SetArgument method to establish the value of a given output argument for the business service method invocation.
SetAttachmentSource() Method
This method establishes the source object to copy attachment objects from. The source object must be a CSSEAIIntMsgIn, CSSEAIMimeMsgIn, or other object implementing the GetAttachmentByCID method. The following table presents the parameter for this method.
Syntax
SetAttachmentSource(source)
Parameter | Description |
---|---|
source |
The attachment source. |
CopyAttachment() Method
This method copies an attachment from the attachment source to the output integration object. The attachment is referenced by the MIME Content Identifier (CID). The attachment source must be established by calling CSSEAIIntMsgOut.SetAttachmentSource before calling this method. The following table presents the parameter for this method.
Syntax
CopyAttachment(cid)
Parameter | Description |
---|---|
cid |
MIME content identifier. |
Returns
The attachment copy is returned as a property set. This method returns null if the attachment source does not contain an attachment with the specified CID.