mardi 17 mars 2015

How to send a large array into an asmx web service?


Vote count:

0




I have a web service method definition like so:



[WebMethod]
public void UploadFiles(List<FileClass> files)


In my client application, I have a large array that I need to pass into the web service like so:



client.UploadFiles(fileClassArray);


I would not want to use maxRequestLength, I've also read about Buffer.BlockCopy but I'm having problems with my destination array that could possibly change the web service method definition.


How do I pass this large array into the web service in chunks? Or what's the proper way to stream this array?






asked 57 secs ago







How to send a large array into an asmx web service?

Aucun commentaire:

Enregistrer un commentaire