I found a short tutorial on creating a pdf webservice, which I tried out and it works like a charm.
Now just to test this I wrote a little jquery one-liner, that accesses that webservice, the return value of the service is:
{ success: true, pdf: A_BUNCH_OF_BASE64_ENCODED_DATA }
Now I would like to display the Binary Data as a PDF in the browser.
Unfortunately storing the file on the server and then requesting the file is not an option, since this is a webservice and it is supposed to return json.
Is something like that even possible?