Did you base64 encode the image? The java action for this is in the community commons module.
Regards,
Ronald
For one specific case we return an ID to the consumer which in turn can be used to down the binary document via a custom request handler (Java coded). I tried to use DeepLink for that, but the consumer could not handle the crap that DeepLink sends along, hence the clean download via the request handler.
So it is a 2-step proces: