Takk for svaret Lars:
Yes, I could, however then the response would not be application/pdf.
The client in this case is just a web-browser, since the bindings are just
HTTP-GET, the browser is receiving data it can render directly --- pdf,
images and style-ized XML
"Lars Netzel" wrote:
Hi!
If you can fix the Objects themselves.. the Image or the PDF or whatever you
can always Serilize them and send over as a astring.. and then deserialize.
I guess!
You can serilalize any objects in .NET
/Lars
"Gardar" <Ga****@discussions.microsoft.com> skrev i meddelandet
news:E7**********************************@microsof t.com... I'm creating a web service using ASP.net that needs to respond with pdf
files or images to HTTP-GET requests. I've searched extensively and not found
any documentation or examples.
What I'm expecting is to be able to set the content type to
application/pdf, or image/jpg (etc) and then just stream the content over to the client.
Thanks for you help.