Salesforce

How Do I Work with Web Service Attachments? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Work with Web Service Attachments? (Magic xpa 3.x)

If the Web service has attachments defined in the WSDL, then they will show up in the Web service arguments list, and you can access them as you would any argument with “Expected attribute” set to “Blob” using Blob variable.

If the Web service receives and/or sends an attachments that are not defined in the WSDL, you can set attachments to be sent in the request using the WsConsumerAttachmentAdd and access the attachment received in the response using the WSConsumerAttachmentGet function. The Magic xpa Help shows the details for using these functions.

Reference
Attachment 
Attachment