Hi, while working in the issue posted this morning I found a strange behavior in wsdl2java.
If I modify a generated class, for example removing a field and adding a comment, and run the wsdl2java from maven again the class is regenerated with no errors but the field is not added(!). In this way I can keep removing as many attributes as I want and the class gets regenerated in this new version. If I delete the java source file the next maven run regenerates the class correctly. What's wrong? This is a problem because one of the schema definition is from another project. If I modify that project and rebuild this one the changes are not "seen" in the other one. If I clean up the directory with the generated sources the build brakes because the test classes no longer find the client classes to invoke the web service. To break the loop I have to delete generated files, comment test classes, and rebuild. :( Any suggestion? Bye Lorenzo
