Salesforce

Forcing Magic xpa to Send Attachments in Base64 Format When Using Systinet (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Forcing Magic xpa to Send Attachments in Base64 Format When Using Systinet (Magic xpa 3.x)

Objective

This Technical Note describes how to force Magic xpa to send attachments as base64 when consuming a Web service using Systinet

Solution

In Systinet there is a mechanism that optimizes the way the attachments are sent. Even if part of your request is base64 string, Systinet might change it to something that will be sent more efficiently.

If the Web service provider can only handle base64 format to get files you will need to force Systinet to send attachments as base64. You can do this as follows:

  1. Close the Magic xpa Studio.

  2. Open the clientconf.xml file, which is located at %WASP_HOME%\conf\.

  3. Look for the <useMtomXop> tag and change the value from auto to never.

  4. Save the file and open the Magic xpa Studio and try to call the Web service again.

Reference
Attachment 
Attachment