is returning files through a byte[] a good idea?

From: Ryan Champlin <>
Date: Tue, 26 Apr 2005 10:22:29 -0500


Would passing of files through a byte[] in a web service method not be a good idea? Currently, we have a simple example of doing this which seems to work farily well. I would assume a better approach might be sending the files via SOAP with attachments however it doesn't appear that this method is accepted yet by many vendors. Just wanted to see what others are doing.