wood burning stoves 2.0*
The moose likes Web Services and the fly likes JAX-WS client generation in eclipse drops properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS client generation in eclipse drops properties" Watch "JAX-WS client generation in eclipse drops properties" New topic

JAX-WS client generation in eclipse drops properties

Brian Mulholland
Ranch Hand

Joined: Mar 12, 2009
Posts: 61
I have a wsdl web service created via the eclipse/RAD Create Web Service wizard. It uses a compound object for parameters that includes some Lists, including a list of child pojos, and a map. I generated a client to use for my unit test but the client generated substantially changed my data object. the data object it works with dropped all setters that operated over Lists (getters are still there), and the map got turned into a "MapType". This data object already have some JAXB annotations, and the map was mapped to a MapType locally that conveys how to transform the map to XML and vice versa.

So I am left with no way to provide the Lists in my client and the wrong data type for my HashMap property. Otherwise my service was going to be dirt simple, just passing this one bean (with subordinate lists, maps and such). I don't understand what I did wrong. Anyone have an idea where I can start?
It is sorta covered in the JavaRanch Style Guide.
subject: JAX-WS client generation in eclipse drops properties
Similar Threads
default character set seems not work in my jboss environment
jax-ws client different between axis2 eclipse and wsimport.
Need help with SoapUI and/or Eclipse web-service Explorer.
Deploying the Eclipse generated web service client on Tomcat
DataObjects sent from client service web are null in the web service