At the end :
Hello everyone.
I was able to complete the test for printing PDF of Powerbuilder application through Web Services (test with a complex report).
The aim is to release the programs Powerbuilder by the need to have the printer (DataWindows PS) installed.
FLOW:
- Program Powerbuilder send to Web Services in a report format PSR via a BLOB on oracle.
- Web Service creates the PDF
- Web Services returns to the program Powerbuilder the report in PDF format via a BLOB on oracle.
- Powerbuilder program displays the PDF with Acrobat Reader or another.
AS 'THE TEST WAS DONE:
- This is a 36-page PDF report.
- Performed 3 times printing
- To avoid the effect cache the generated file is always called in a different way in both tests
TEST RESULT
- Time: Web service
--- 12:07:20 to 12:07:57 (37 sec)
--- 12:08:13 to 12:08:24 (11 sec)
--- 12:08:38 to 12:08:49 (11 sec)
-Stroke Direct Print
--- 12:09:10 to 12:09:23 (13 sec)
--- 12:09:37 to 12:09:49 (12 sec)
--- 12:10:07 to 12:10:19 (12 sec)
The test will understand two things:
1) the times are substantially equal
2) only the first times WS takes longer (because it must create the environment of work for the session). (*)
(*)
why ? it's 'very long time.
I repeated the test after +/- 15 minutes. and the first time it take again 36 second. Why ? ( i do not reset IIS, i do not recompile WS )
Thanks for the answers
G.