I have a WSDL file and i want to generate java classes from it. i use wsimport to do that. I am able to generate all the java and class files using wsimport, but i need only beans (classes with only getters and setters to be generated)
Can you please help me in generating java classes for content with in <wsdl:types></wsdl:types>
If you generate artifacts using the web service wizard in Eclipse, make sure you get what you want.
I am not sure it generates JAXB bean classes. ...and it will still generate other artifacts.
If you do not mind using a terminal window, then use the JAXB schema compiler command "xjc".
It will generate JAXB bean classes from an XML schema or a WSDL and nothing more.