Hi!

I'm trying to stream a pdf from a webservice page (*.asmx). I do not have access to the Response class so I can't use Response.redirect...
I have the pdf in byte-format but I don't know how to stream the pdf to i.e. acrobat reader.
The idea is to have a link (http://name.com/Webpage.asmx/ViewPDF?ID=10) in an email where the receiver can click on the link and open the pdf.
Can anyone help me?
I don't want the pdf to be a physical file, but a stream available at "click-time"...

[WebMethod(EnableSession=true, Description="Get specific document")]
public void ViewPDF()
{
// code
}

Br,

Marjoh