IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  PDF Creator

    Posted 03/27/09 03:11 PM

    Hi,

    I downloaded the PDFCreator package from the shareware section and tried to create a test pfd. Because there’s no documentation on the package i tried creating the pdf using the logical approach. Meaning i created a flow service with the following steps:
    → pdf.generate:beginPDF
    → pdf.generate:newPage
    → pdf.generate:setHeader
    → pdf.generate:setFooter
    → pdf.generate:endPDF
    → pdf.file:convertToFile

    when running this test flow service i get a “com.wm.app.b2b.server.ServiceException: The document has no pages.” error on the pdf.generate:endPDF step.

    Has anyone any experience with this package or any ideas on how to solve this?

    Thanks,
    Bogdan


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: PDF Creator

    Posted 04/01/09 03:39 AM

    Hi bogan,

    I have recently created a pdf service using PDF creator package in my project. I used the following flow for my biz requirement.

    → pdf.generate:beginPDF
    → pdf.generate:setHeader
    → pdf.generate:setFooter
    → map
    → pdf.generate.addPDFTable
    → pdf.generate.addDocumentElement
    → pdf.generate:addParagraph
    → pdf.generate.addDocumentElement
    → pdf.generate:newPage
    → pdf.generate:endPDF
    //-> pdf.file:convertToFile

    My requirement was not to ‘convert To file’ but to email the pdf. I have used MIME services to email the pdf that was generated dynamically without converting to file.

    Use the services in generate folder according to your need.

    Cheers,
    Govindaraj


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB