copying binary data across entities

Hi i'm stuck. I call a webservice that returns a passphoto (in a binary format). Using the XML to domain mapping I can store this data in an entity in the database. Not I need to copy the stored passphoto to an image object. For some reason I cannot copy Binary data using the Change Object action. What is the best way to copy binary files in my application? Han Pieter
1 answers

The best way might be to directly create the Image objects from the XML-to-domain mapping. You can map the XML binary data directly to the 'Contents' attribute of the Image object.