Hi, I generate my code in a different source tree and implement the interface for the web service. I then point my web service impl to my custom impl by modifying my services.xml file post build. My custom implementation is always retained after subsequent generation passes. I describe it here:
http://calbazana.com/?p=7 Hope that helps, Alejandro > Hi everybody, my question of the week is almost described in the title. > > I have a web service, generated with axis2 : wsdl2java... from my wsdl/xsd > files. > > It working, deployed on application servers (jboss and axis2 in tomcat) > > Now, I want to add new services and request for this web service. > For that, I modify my wsdl file, and maybe create some new types in the > related xsd files. > > If I use wsdl2java and specify the new services I've created in my wsdl, > it > will generate : > the stub,skeleton,skeletoninterface,callbackhandler and > messagereceiverInOut > for the service, > here it's ok. > It will generate also : the request/response files with all the method to > get,set, parse the datas... here it's still ok. > > my problem is : some types used by the old requests have been modified. > Axis will generate all the types used by the new requests, and so > overwrite > the modified types. > > > Is there a solution to explain to axis (wsdl2java) to generate only the > new > types that are not already created ? like checking if the "usertype.java" > already exist ? > > > For now, my solution is to generate the files in a new folder, and copy > just > the new files.. but it's not a very good solution.. > the other should be to protect the old files by blocking the writing > permission... not so good too... > > So I'm just looking for a solution to explain to axis that it just have to > generate the files not already created. > > any ideas ? > > thanks guys. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
