Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass object/file to web service
Message
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00665792
Message ID:
00666122
Views:
26
>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=386

Also, consider serializing your objects as XML by setting the Serializable attribute or implementing the ISerializable interface.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform