JAX-WS client generation in eclipse drops properties
posted 3 years ago
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?