Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > Data Mapping Using Scripts > Siebel Message Objects and Methods >

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. Table 18 presents the parameter for this method.

Syntax

CreateIntObj(name)

Table 18. Parameter for CreateIntObj() Method
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. Table 19 presents the parameters for this method.

Syntax

SetArgument(name, value)

Table 19. Parameters for SetArgument() Method
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. Table 20 presents the parameter for this method.

Syntax

SetAttachmentSource(source)

Table 20. Parameters for SetAttachmentSource() Method
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. Table 21 presents the parameter for this method.

Syntax

CopyAttachment(cid)

Table 21. Parameters for CopyAttachment() Method
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.

Business Processes and Rules: Siebel eBusiness Application Integration Volume IV