send the image file in an xml from the FS.

How do I send the image file in an xml from the FS.

Output of the FS should be a field containing image.
eg:
bytes of image

You can Base64 encode the bytes. Or use MTOM. Older but possibly still useful is DIME. SOAP with Attachments. Search for these on the web and you’ll get some useful hits.

If you use the most common approach of base64 encoding the file (could be an image, Word doc, PDF, etc.), the output of the Flow service should be something like:

<Image>[I]base64Encoded_bytes_of_image[/i]</Image>

Review the documentation in the built-in services guide in the pub.string:* folder for information on converting bytes to base64 encoding.

Mark