Hi,
I am trying to use restlet endpoint to convert and get a PDF.
However I am getting a blank document back.
The same code is working if I am using jetty as http endpoint. Also if I
write it to file it is working. Looks like I am missing some header - can
anyone help me please?
<route>
<from uri="restlet:http://localhost:8081/PDF?restletMethod=get"/>
<to
uri="xslt://ConvertToXSLFODoc.xsl?transformerFactoryClass=net.sf.saxon.TransformerFactoryImpl&contentCache=false&failOnNullBody=false"/>
<setHeader headerName="Content-Type"><constant>application/pdf;
charset=utf-8</constant></setHeader>
<to uri="fop:application/pdf"/>
</route>
--
View this message in context:
http://servicemix.396122.n5.nabble.com/camel-fop-with-http-reslet-endpoint-tp5721676.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.