Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I have built a Java servlet, running in Tomcat 7 which reads an XML instance from a third party repository and sends a publishing request (PDF) to a PE SErver (v. 5.4). The PDF is streamed back to the client browser. This part is working just fine, what I can't figure out is how to send the graphics which are linked in the instance via an 'image' element with a URL attribute.
I have tried writing the graphics to the file-system and re-linking them in teh servlet, but this didn't work. I have opened the resulting XML instance in Arbortext Editor 5.4 and published it successfully with graphics on the PE server.
It seems that I'm missing something in passing the graphics or correctly linking them for transmission to the PE server. Has anyone had any success doing this?