Quantcast
Channel: Dynamic URL from WCF Web Service - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Dynamic URL from WCF Web Service

$
0
0

I'm trying to serve up Excel documents that I have stored in a database via a WCF RSS feed (the user clicks a link in the feed and it sends down a specific Excel document).

The Excel files aren't sitting in a directory any where (in which case I could just give each user a static URL).

So what I'd like to do is have a dynamically generated URL in the RSS feed (which would indicate the ID of the document). When the user clicks the URI it goes to a WCF webservice that deserializes the Excel document out of the database and sends it to the user (they'd get the standard Open/Save Excel document dialog).

Unfortunately I can't seem to get the web service to send a document that the client understands is an Excel document. I figure that I need to do something with the endpoint or some MIME setting in IIS or something else altogether, but I haven't figured out what that is.

Note, I'm using WCF hosted on IIS 7.0.

Much thanks in advance!!!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images