Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV > 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 40 presents the parameters for this method.
Syntax
SetArgument(name, value)
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 41 presents the parameter for this method.
Syntax
CreateXMLPart(xmlRootTagName)
Table 41. 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 42 presents the parameter for this method.
Syntax
SetAttachmentSource(source)
Table 42. 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 43 presents the parameter for this method.
Syntax
CopyAttachment(cid)
Table 43. 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.
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Business Processes and Rules: Siebel eBusiness Application Integration Volume IV Published: 18 April 2003 |