>>>>> "Naresh" == Naresh Bhatia <[EMAIL PROTECTED]> writes:
Naresh> I have some questions regarding the Java classes generated Naresh> by WSDL2Java. My assumption is that WSDL2Java was written Naresh> primarily to create a Web Service client. However it is Naresh> making the maintenance of my business data classes a bit Naresh> awkward. Let me try to explain... Naresh> When I use Java2WSDL followed by WSDL2Java, the classes Naresh> generated for these types are different from the original Naresh> Java classes - they have some additional methods (such as Naresh> equals(), hashCode(), getSerializer(), getDeserializer() Naresh> etc.) and some methods removed. Naresh> 1) Does WSDL2Java make any attempt to merge the methods Naresh> into the original classes? Naresh> 2) What is the recommended approach to keep one copy of Naresh> data classes for the client and the server? My approach has been to throw away the Axis generated type classes. To do this I tell WSDL2Java to generate into a temp dir, then copy out the files that I want (stubs etc) - Bob -- SynXis Corporation | [EMAIL PROTECTED] | Obstacles are those frightful 1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry Ford