Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #26966

    Hi,

    We are trying to convert an .xhtml page with dynamically loaded values into pdf.

    I am using Pd4ml api, and my application is developed in Websphere Portal Server 6.1 .

    When i trying giving, the url as an input , pdf is generated with no content in it.

    Url: http://IPaddress:10039/wps/myportal/Rationalportlets. For instance , if i replace this url with https://pd4ml.com/index.htm its working fine.

    Greatly appreciate your help.

    #29598

    1. Make sure there is routing from WebSphere server to http://IPaddress and port 10039 is not blocked.

    2. Enable debug info and inspect STDOUT/server’s log for error messages

    3. Try to save Rationalportlets output as a local HTML document and try to convert it locally. Does it produce a non-blank PDF?

    #29599

    I have similar problem: Lotus Domino server, if I try to convert http://www.mydomain.com/database.nsf/viewname/document I get an empty PDF. If I set url to http://www.google.com it works.
    I tried adding authentication, just in case, but it still does not work.

    #29600

    Are there any error messages or warnings (printed to STDOUT/log)?

    #29601

    I cannot find stdout or equivalent for Domino, I am looking at the Domino console, i.e., log.nsf.
    If I create an error like change http://…. to htxx://… in the URL I get error information saying the protocol is wrong.

    what I get is:

    19/11/2014 12:58:57   HTTP JVM: f:dataEW0008.pdf
    19/11/2014 12:58:57   HTTP JVM: http://www.domain.com/v4/CTR0101.nsf/lookupParent/EW0008?OpenDocument
    19/11/2014 12:58:57   HTTP JVM: version: PD4ML 380fx6 Pro (eval)
    19/11/2014 12:58:57   HTTP JVM: done in 140ms.

    But, the PDF is blank

    #29602

    Is there an equivalent in Domino to Port 10039 in Websphere or are ports 80 and 443 enough?

    #29603

    “You can review output from a Java agent that is running locally in the Java Debug Console. To activate the console, choose Tools – Show Java Debug Console.”

    #29604

    Also, inspect an exported DXL file content. If there are <rawitemdata type='1'> elements – it is a bad sign.

    The rawitem data type corresponds to TYPE_COMPOSITE, which is raw binary object, exported from Notes database “as is” (not represented as DXL’s <richtext> element). A parsing of such objects is not a trivial task and it is out of PD4ML scope.

    The only solution in the case is to force DXLExporter not to output <rawitemdata type='1'> objects.

    There are DXLExporter options to control that, but they not always work. See
    http://www-01.ibm.com/support/knowledgecenter/#!/SSVRGU_9.0.1/com.ibm.designer.domino.main.doc/H_RICHTEXTOPTION_PROPERTY_EXPORTER.html

Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.