Business Processes and Rules: Siebel Enterprise Application Integration > Data Mapping Using Scripts > MIME Message Objects and Methods >

CSSEAIMimeMsgOut


This object represents an output MIME message, open for writing. This object provides SetArgument, CreateXMLPart, SetAttachmentSource, and CopyAttachment methods:

SetArgument() Method

This method sets the value of a business service argument. Table 39 presents the parameters for this method.

Syntax

SetArgument(name, value)

Table 39. 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.

CreateXMLPart() Method

This method is similar to XPSCreateRootElement. See XPSCreateRootElement(). CreateXMLPart() Method creates an XML MIME part and adds it to the MIME document. The property set representing the XML root element is returned. The property set returned can be populated using the XML Property Set functions. See XML Property Set Functions. Table 40 presents the parameter for this method.

Syntax

CreateXMLPart(xmlRootTagName)

Table 40. Parameters for CreateXMLPart() Method
Parameter
Description

xmlRootTagName

The name you want to supply as the root element name in the XML document.

Returns

Property set

SetAttachmentSource() Method

This method establishes the source object from which to copy attachment objects. The source object must be a CSSEAIIntMsgIn, CSSEAIMimeMsgIn, or other object implementing the GetAttachmentByCID method. Table 41 presents the parameter for this method.

Syntax

SetAttachmentSource(source)

Table 41. Parameters for SetAttachmentSource() Method
Parameter
Description

source

The attachment source.

CopyAttachment() Method

This method copies an attachment from the attachment source to the output MIME message object. The attachment is referenced by the MIME Content Identifier (CID). The attachment copy, a property set, is returned. The attachment source must be established by calling CSSEAIMimeMsgOut.SetAttachmentSource before calling this method. Table 42 presents the parameter for this method.

Syntax

CopyAttachment(cid)

Table 42. Parameters for CopyAttachment() Method
Parameter
Description

cid

MIME Content Identifier of the attachment to copy.

Returns

Property set. This method returns null if the attachment source does not contain an attachment with the specified CID.

Business Processes and Rules: Siebel Enterprise Application Integration Copyright © 2006, Oracle. All rights reserved.