wood burning stoves 2.0*
The moose likes Web Services and the fly likes Making JAXB play nice with JAX-RPC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Making JAXB play nice with JAX-RPC" Watch "Making JAXB play nice with JAX-RPC" New topic
Author

Making JAXB play nice with JAX-RPC

Kevin G Scott
Greenhorn

Joined: Jan 24, 2005
Posts: 17
Hello,
I am updating client Web Services which are currently using J2EE 1.3 and processing raw XML. I want to move these to JAX-RPC. My first thought was to leave the current code to draw the XML out of the database and then bind it to a JAXB object. This is where my brilliant idea beached itself against reality. The problem is that classes generated from a Schema by JAXB make use of classes that JAX-RPC can't deal with. Most of these classes are Collections. So here is my question: Can I make JAX-RPC deal with objects in a standardized, interoperable way OR can I make JAXB use only constructs that JAX-RPC likes.
Thanks!
 
jQuery in Action, 2nd edition
 
subject: Making JAXB play nice with JAX-RPC