File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Making JAXB play nice with JAX-RPC

Kevin G Scott

Joined: Jan 24, 2005
Posts: 17
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.
I agree. Here's the link:
subject: Making JAXB play nice with JAX-RPC