Downloading a file from WCF via jquery ajax

Blessed

New Member
I have a little ASP.net web project set up with a little restful WCF service for ajax operations. One of which is a POST operation which passes a serialized object which is then process and a file should be returned. The return type of my WCF Method is a stream, and I first create a FileStream o write the data, then I return a new FileStream with the file path. How do I consume and display that filestream using my ajax method. I can post and debug fine, but there is no data returned.
 
Back
Top