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

From: <frederic.ouellet@desjardins.com>
Date: Thu Jul 21 2005 - 08:32:29 PDT

I didn't received any response to my interrogations... plz look at the forward mail below.

Best Regards,

Frédéric Ouellet

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

----- Réacheminé par Frederic Ouellet/CCPEDQ/Desjardins le 2005-07-21 11:28 -----
                                                                                                                                                                          
             frederic.ouellet@desjardins.com
             Envoyé par : owner-xep-support@renderx.com
                                                                                                                                                                     Pour
                                                                             xep-support@renderx.com
             2005-07-12 15:24 cc
                                                                                                                                                                          
                                                                                                                                                                    Objet
                               Veuillez répondre à [xep-support] com.renderx.xepx.cliser.Client
                             xep-support@renderx.com
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          
                                                                                                                                                                          

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

-------------------
(*) 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 Thu Jul 21 08:54:42 2005

This archive was generated by hypermail 2.1.8 : Thu Jul 21 2005 - 08:54:43 PDT