1) pass a file in a Soap message as a byte  and 2) pass a file in a Soap message as a dime attachment
When I try the byte array approach I get an "end of stream encountered before final boundary" exception on the client trying to access the file. All I'm doing is the service reads in a File from it's local file system into a byte array, and then returns it via a method byte getFile(). This method has been tested locally on it's server and it works. Then the client trys to call getFile() but when doing so I get that crazy exception "end of stream encountered before final boundary". Do you guys have any ideas? I'm stumped on this one.
Also, how on earth do you create a dime attachment for a soap message? Is there any way to implicitly have the file become a dime attachment? Or do I have to write up some Web service code to do so?