Uploading Binary files for Child entries using Web Services API

Apparently, using MIME attachments to upload binary files to a child entry doesn’t work.

The way to get this to work, however, is to set the raw data of the PSFieldValue to the Base64 encoded string for your binary file.

SOAP Attachments do work for main item fields… go figure.

Sam,

Are you using .NET or Java Web Services? Uploading a binary as an attachment is supported for Java Web Services, but not in .NET Web Services. In a .NET environment, uploading as a Base-64-encoded string is the supported option.

See the Web Services samples in <Rhythmyxroot>/WebServices/<version>/sample/loader for examples of supported implementations.

RLJII