[xep-support] com.renderx.xepx.cliser.Client

From: <frederic.ouellet@desjardins.com>
Date: Tue Jul 12 2005 - 12:24:19 PDT

Hello all,

I am analysing the use of Cliser to call the generation of a PDF from a distant PDF generator.

I will use cliser-3.1-20050512 all the way, the client JAVA side in my EAR on weblogic and the server side on another server in the same LAN.

In my generatePDF EAR method, I will create the Client Instance and use this:

render
public byte[] render(byte[] fo,
                     int len,
                     java.lang.String sysid)
              throws ProtocolException,
                     java.io.IOException
      renders an XSL FO source into a formatted representation. The format is specified by property "FORMAT". Can be called multiple times for the same client as long as
      it is ready().
      Parameters:
            fo - XSL FO source as a byte array
            len - length of the byte array
            sysid - system identifier of the source in the client's space
      Returns:
            a byte array with the formatted representation

To send my querry to the XEP server.

I am wondering where I should pass the XML informations??? To generate a PDF in my EAR, I have:

   XML with dynamic informations
   XSL to format the PDF
   Properties to XEP

Now, the Client.render method seems to take only the XSL part of my parameters...

1- So, what can I do with my XML???
2- With my XEP properties???

3-Does the setProp methods is for the XEP properties found in the reference manual?

setprop
public void setprop(java.lang.String key,
                    java.lang.String val)
             throws ProtocolException,
                    java.io.IOException
      sets a property on the server
      Parameters:
            key - property name; the name can have optional prefix, ending in ':'; CLISER options (e.g., FORMAT) do not have a prefix, formatter options use 'FRM:',
            generator options use 'GEN:', followed by optional secondary format prefix (e.g., GEN:pdf:COMPRESS); if the format is not specified, the current format is
            used
            val - property value

4-So... if I can pass my XEP properties in this method, I must change the key to have either FRM or GEN options in front of it???

5-Where can I have a list for the FORMAT options??
6-Does the XEP properties in the reference manual are the GEN options??

I am always open to be ask for more to be understand. Hope that I will have an answer for each of theses questions.

Best Regards,

Frédéric Ouellet

Fédération des Caisses Desjardins du Québec - Montréal
Service Infrastructures Applicatives
Direction Infrastructures Technologique

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Jul 12 12:46:33 2005

This archive was generated by hypermail 2.1.8 : Tue Jul 12 2005 - 12:46:36 PDT