This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS client generation in eclipse drops properties
 
Similar Threads
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
default character set seems not work in my jboss environment
DataObjects sent from client service web are null in the web service