>I'm using ASP.NET/VB to call a Visual Foxpro web service...I can pass it character strings and the service can manipulate and respond correctly. However, I would like to pass it a file to process (always an ASCII text file). Is there a way to pass the file itself as an object to my web service? How about a binary such as an image?
>
>Any ideas are greatly appreciated.
A binary image or file can be encoded in base64.
"Developing An Image Upload Web Service"
http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=386Also, consider serializing your objects as XML by setting the Serializable attribute or implementing the ISerializable interface.