Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Web Services
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Services
Converting a DTO object to an XML File
Fred Victa
Ranch Hand
Posts: 226
1
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How would I convert a DTO object to an XML file? The XML file needs to conform to a certain schema.
Ivan Krizsan
Ranch Hand
Posts: 2198
1
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi!
Create JAXB bean classes from the XML schema and, programmatically, transfer data from the DTO to instances of the JAXB bean classes.
Then serialize to XML.
Best wishes!
My free books and tutorials:
http://www.slideshare.net/krizsan
Yair Ivan
Greenhorn
Posts: 15
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi:
Other option:
http://commons.apache.org/betwixt/guide/start.html
Bye.
SCJP 6.0, SCBCD 5.0, SCDJWS 5.0
The glass is neither half full or half empty. It is too big. But this tiny ad is just right:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Process Object --- Design Pattern ???
Java -> XML Binding Tool
java.lang.NumberFormatException: For input string: "139.56"
Difference between PO(page object),PFO(page file object),DAO(data access object) and DTO?
XSD for JPA 2.0
More...