Show PDF document using webservice

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

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.