Transforming document in binary

I want to call a webservice which requires a fileContent (Binary). This should be a document which is uploaded in the portal. Is it possible to transform the uploaded document in a binary field? So I can use this binary field in the webservice call.
1 answers

You should be able to map the contents of a filedocument to a binary xml element, or, the other way around, map the contents of an xml element to a filedocument.

You don't need the binary field or a binary attribute.