Hi All,
At this point, I'm relatively experienced with ASP.NET programming, however I've yet to use WebServices of any kind. A client of mine would like to have data exported from my web-based system so that the data can be utilized with a windows-based program on their local workstation.
Basically, I'd like to write a windows application to call a WebService on our server. This WebService would then generate the CSV files and put them in a ZIP file and stream this file to the windows application. Once the file download is complete, the windows application should simply unzip the file to a particular location.
I already have the code for creating the CSV file and zipping/unzipping the file. My question is how do I make a webservice "listen" for a request and stream the file, and how do I make a windows application generate the request and receive the file?
Hopefully someone has some resources they could point me to, or even better some sample code they'd be willing to share.
Thanks in advance,
Dan
At this point, I'm relatively experienced with ASP.NET programming, however I've yet to use WebServices of any kind. A client of mine would like to have data exported from my web-based system so that the data can be utilized with a windows-based program on their local workstation.
Basically, I'd like to write a windows application to call a WebService on our server. This WebService would then generate the CSV files and put them in a ZIP file and stream this file to the windows application. Once the file download is complete, the windows application should simply unzip the file to a particular location.
I already have the code for creating the CSV file and zipping/unzipping the file. My question is how do I make a webservice "listen" for a request and stream the file, and how do I make a windows application generate the request and receive the file?
Hopefully someone has some resources they could point me to, or even better some sample code they'd be willing to share.
Thanks in advance,
Dan