I'd like to set up maven to generate the client (wsimport or clientgen) when we build the service, then add that generated code's jar as a dependency to our client software. Then we don't waste time generating the ws client when it isn't needed
How do I write a maven.xml and build.xml.project.properties?
What else I need to have for generating the client?
can you please give me an example of maven.xml which uses wsimport or clientgen?
And also this should build a jar file which contains the generated classes from wsdl and xsd.
Has anyone addressed this issue before? Any suggestions?