I use JAX-WS web services in my project - WSDL to JAVA approach.
I generate Java Client Proxy classes from the WSDL using the IRAD(7.5) web services client.
Each time I get a new WSDL file I generate the proxy classes by specifying a different package for each(use the bind.xml to specify the package name) and for each there are the Request, Response, ObjectFactory and Programming interface classes.
My question is there any other simpler way of generating these client classes?
Can I select the same existing client classes with update option instead of overwriting?
I cant understand what you mean by "I generate the proxy classes by specifying a different package" .
Apart from this JAX-WS dynamic client model generates these classes on the fly and eliminates the need to generate classes from wsdl on the client side. This ofcourse is slower and not sure how difficult it is on the developer side to code for this.
It is possible to invoke wsimport from both Ant and Maven, both of which can be automated.
In Eclipse, you can configure a Builder for a project which can run a selected Ant task during a build of the project - this way it becomes integrated with the development environment.
There are probably similar features in other IDEs, but I am not familiar with the details.
As far as I know, there is no option to update existing classes. They are always overwritten.
Lingam and Ivan, thanks for the reply, it helped.
Lingam while generating the Java Client Proxy classes I add the bind.xml which has the directory(package name) where the client classes needs to be created, I have a bind.xml for each of the WSDL , that's what I meant specifying a different package name.