on 08-10-2006 4:09 PM
Hello,
imagine the following scenario:
We have a webapp (web dynpro) that collects information from the user, does some calculations etc.
When everything is done, the user clicks "create pdf" and gets his document (not editable) which he can print, save or email.
Our basic idea (following the Tut_PDFObject example) was to set up an ejb component that gets a custom DataTransportBean (java, lots of attributes, getters and setters), and fills field values of a pdf document.
Problem is: the central "createPDF" method of ADS requires a template (which we provide) and xml-data.
Question: How can I generate this xml-data by using a classic JavaBean? Where can I find a schema or related information with a description how that xml has to look like? Are there pregenerated stubs I can use? And if it doesn't work this way: How do you save your applications form data as PDF document?
Tia
Jan
you can use jaxb or the SAP <a href="http://help.sap.com/saphelp_webas630/helpdata/en/41/e568dc6b6742baa879763e8ea4a490/content.htm">Schema to Java Generator</a>
Regards
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.