xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: PDF over SSL, images not avaliable.
Date Tue, 02 Sep 2008 12:52:18 GMT
In addition to what Manuel said, the following might help, too:
http://wiki.apache.org/xmlgraphics-fop/HowTo/BasicHttpAuthentication

On 02.09.2008 14:38:56 Manuel Mall wrote:
> I am assuming fop is invoked from a servlet running under weblogic?
> 
> Then you need to make sure that from the server weblogic (and in turn fop)
> runs on you can retrieve the image via https. The browser you used verify
> the image retrieval below does it run on the weblogic server? If not, then
> you are not testing in the same environment.
> 
> And again my original recommendation stands. Write a simple few line Java
> program to retrieve the image and run it on the same machine as your
> weblogic server using the same Java JRE.
> 
> Manuel
> 
> > -----Original Message-----
> > From: Ricuzzo [mailto:ricuzzo@gmail.com]
> > Sent: Tuesday, 2 September 2008 8:14 PM
> > To: general@xmlgraphics.apache.org
> > Subject: Re: PDF over SSL, images not avaliable.
> > 
> > 
> > Hello,
> > 
> > Actually, I am able to retrieve the image outside fop, by typing the url
> > of
> > the servlet that generates de image (it gets a blob from the data base and
> > tranforms it into a image), under https. The only problem that really
> > exists
> > is calling an image under https inside my xsl-fo, as i showed below.
> > 
> > <fo:external-graphic src="https://xxxx./ quaestor/img/LogoMinisterio.jpg"
> > content-width="13em"/>
> > 
> > And there is no any problem with getting the image by typing this in the
> > browser:
> > 
> > https://xxxx./ quaestor/binaryServlet?image=1 ...  (a stream generated
> > image)
> > 
> > or this:
> > 
> > https://xxxx./ quaestor/img/LogoMinisterio.jpg     (directly invoking an
> > image file inside the java project)
> > 
> > By the way, i am using weblogic 8.1.
> > 
> > I really dont get it...
> > 
> > 
> > 
> > Ricuzzo wrote:
> > >
> > > Hello.
> > > I have this problem generating PDF documents dinamically under SSL. I
> > > finally got to display the document under HTPPS, using some headers in
> > my
> > > response (pragma 'public' and cache-control ...), but the problem now is
> > > that images are not displayed, if seems that under https, FOP cannot
> > > recognize or display my logos and pictures embeded in the document. It
> > is
> > > not a certificate problem, not an agreement problem, its like fop cannot
> > > manage or has some kind of problem with retrieving images under
> > > encription.
> > >
> > > In my xsl-fo, i am invoking the images via example:
> > >
> > > <fo:external-graphic src="https://xxxx./
> > quaestor/img/LogoMinisterio.jpg"
> > > content-width="13em"/>
> > >
> > >  Any ideas? any other way to get images?
> > >
> > >  I really need to get rid of this problem, it is mandatory get this
> > thing
> > > done as soon as posible in my job.
> > >
> > > ty very much!!!
> > >
> > 
> > --
> > View this message in context: http://www.nabble.com/PDF-over-SSL%2C-
> > images-not-avaliable.-tp19265631p19269031.html
> > Sent from the Xml Graphics - General mailing list archive at Nabble.com.
> > 



Jeremias Maerki


---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message