http-serializer Websphere 6

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

http-serializer Websphere 6

Youssef Medaghri-Alaoui
Hi,

I was using the thhp-serializer on tomcat to generate a pdf document and it was working fine, but since i deployed my orbeon application on Websphere 6 the generated document is corrupt.

I have the mime type application/pdf defined in my host on websphere.

here's my code :

...
  <p:processor name="oxf:http-serializer">
        <p:input name="data" href="#out"/>
        <p:input name="config">
            <config>
               <content-type>application/pdf</content-type>
                <header>
                  <name>Content-Disposition</name>
                    <value>attachment; filename=subscription.pdf;</value>
               </header>
            </config>
        </p:input>
    </p:processor>

Any idea please ?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: http-serializer Websphere 6

Alessandro  Vernet
Administrator
Hi,

We had a couple of problems with WebSphere in the past, but I am not
aware of any issue with the PDF generation. Do you have this problem
too if you deploy the PresentationServer example WAR file on
WebSphere, go to the "Data in multiple formats" example, and click on
"PDF"?

Alex

On 3/17/06, [hidden email] <[hidden email]> wrote:

> Hi,
>
> I was using the thhp-serializer on tomcat to generate a pdf document and it was working fine, but since i deployed my orbeon application on Websphere 6 the generated document is corrupt.
>
> I have the mime type application/pdf defined in my host on websphere.
>
> here's my code :
>
> ...
>   <p:processor name="oxf:http-serializer">
>         <p:input name="data" href="#out"/>
>         <p:input name="config">
>             <config>
>                <content-type>application/pdf</content-type>
>                 <header>
>                   <name>Content-Disposition</name>
>                     <value>attachment; filename=subscription.pdf;</value>
>                </header>
>             </config>
>         </p:input>
>     </p:processor>
>
> Any idea please ?
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet