How Do I Provide Web Services with Attachments? (Magic xpa 3.x)
You can send and receive files in a Web service by encapsulating them in a Blob parameter. You can use the Blb2File function: Blb2File (<Blob>,<File Name>).
Then, when you are building the Web service, set the parameter type as Attachment.
Now the file will come across as an attachment.