cancel
Showing results for 
Search instead for 
Did you mean: 

Generating pdf using ADS on another Server failed

bernd_speckmann
Contributor
0 Kudos

Hi there,

I am trying to generate a pdf-document using Adobe Document Services installed on another server.

It's a Visual Composer app, which opens a Web Dynpro component to generate the pdf. Everything works fine when I run the app on a server, which has Adobe Document Services installed.

But when I try to run the app on a server without ADS installed and want to use ADS on another server (both NW 7.3 SPS4) it fails with and FileNotFoundException.

The log of the ADS-Server says, that it cannot found the file located in <PATH TO THE XDP-FILE ON THE APP-SERVER>. It's sure, that the server cannot find the file, because it's not deployed there!

It seems that the Application calls the Adobe-System which trys to find the template on its own file-system.

Does anybody know the mistake here?

Any help would be greatly appreciated

Edited by: Bernd Speckmann on Oct 17, 2011 10:31 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

bernd_speckmann
Contributor
0 Kudos

The problem was, that I was passing xdp template source as url .

Instead I should send it as a stream using the appropriate pdfdocument api.