You can use the attachment function to send the value of an attachment field (the actual document) via Web Services by adding a MIME attachment to the SOAP message. This function is useful only in the XML modality of Web Services.
Function | What it does |
---|---|
attachment | Adds the contents of an attachment field to a Web Services message. |
attachment (attachment_field_name)
....
"<DataFields>"+
"<Data1>"+ attach(MyAttachment) + "</Data1>"+
"<Data2>"+ _string + "</Data2>"+ .....