Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass object/file to web service
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00665792
Message ID:
00666122
Vues:
27
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform