I'm writing some Java code to retrieve attachments from Salesforce.
It seems I can query the Attachment object and retrieve the body column, but I'm concerned that I'll blow a limit on the maximum size of a SOAP response.
SF has increased the attachment size limit to 20MB, so its possible that an attachment may be 20MB in size.
Will doing 'select id, body from attachment' blow a response limit? I have a recollection I'm limited to 10MB, but I can't find the documentation that specifically mentions that.
Should I do an HTTP call to the Servlet.Download? url to retrieve the attachments outside of SOAP API? (Assuming I can inject the session id into the request).