Hi,
I am generating client classes with the wsgen task from a WSDL file (that was generated with WsdlGenTask). I want to specify my own package name for the generated classes because the default name is the same as the object that are used in my service class. For example my service class has this method: public com.example.StudentDTO getStudentById(Integer studentId); After running the wsgen task I will receive a new (for client use) com.example.Student class under my src directory, So I actually have now 2 classes with the same package and name - and this I want to change. I tried using the JAXB 2 example in http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL but the result was A mixed of new package that was stated in jxb file (test.com.example for example) and the original package (The client was actually importing from com.example and also from test.com.example) Any ideas how to make the client import only from the new package classes? Thanks, Liav
