# Show PDF document using webservice

**URL:** <https://forum.servoy.com/t/show-pdf-document-using-webservice/15321>\
**Category:** Classic Servoy\
**Created:** [January 11, 2012, 9:00am UTC](https://forum.servoy.com/t/show-pdf-document-using-webservice/15321 "2012-01-11T09:00:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinh](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martinh](https://forum.servoy.com/u/martinh)\
**Post date:** [January 11, 2012, 9:00am UTC](https://forum.servoy.com/t/show-pdf-document-using-webservice/15321/1 "2012-01-11T09:00:56Z")

</div>

Hi,

I would like to know if the following is possible with Servoy using a webservice.

I want to send a mail with a link (URL) to the webserver.  
When a user presses the link it must call a webservice on the server.  
The webservice will create a record in a table, to log that the link was pressed.  
The result of that webservice must be that a PDF-document (stored on the server) must be shown in a PDF-reader.  
So no user interaction with a Servoy form is necessary.

This should work without opening a browser window and the time this takes a Servoy license on the server must be a minimum.

Is this possible with Servoy?

Martin

---

<div class="post-metadata">

**Author:** ![sbutler](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sbutler/32/4393_2.png) [@sbutler](https://forum.servoy.com/u/sbutler)\
**Post date:** [January 13, 2012, 6:55am UTC](https://forum.servoy.com/t/show-pdf-document-using-webservice/15321/2 "2012-01-13T06:55:14Z")

</div>

the result of a webservice is generally not binary data. Usually it would return back XML/JSON, and in that could be a link to a resource on the server to retrieve the binary data.

My suggestion would be to use JSP page to do that.
