Salesforce

WSProviderAttachmentAdd (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

WsProviderAttachmentAdd (Magic xpa 3.x)

Lets a provider Web Service program add attachments to the SOAP response.

Web Service (WS) DIME addresses the difficulties involved in embedding binary data, such as video, graphics, and sound into XML documents.

This function attaches the content of a BLOB variable to a SOAP response.

Syntax:

WsProviderAttachmentAdd (Attachment)

Parameters:

Attachment – The BLOB variable to be attached to the message.

Returns:

An alphanumeric Universal Unique Identifier value (UUID) automatically generated by the outgoing attachment, which can be used as a reference in the returned XML document.

The function returns a Null value when the attached BLOB variable is empty or the WsProviderAttachmentAdd function is not activated during a provider program execution.

Example:

WsProviderAttachmentAdd (A),

where A is a BLOB variable, returns a UUID that can be sent in the XML message.

Note:

Outgoing attachments are cleared from memory after the Task Suffix operations have been executed in the Web service provider program.

Exceptions:

  • This function is not supported as a parameter in the Invoke Web Service Lite operation.

  • This function is not supported for Rich Client tasks.

Reference
Attachment 
Attachment