users@jax-rpc.java.net

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

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

All,

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.

Thanks,
Ryan