I do not understand what do you mean by you first create the service and then generate the WSDL and from that you generate the service skeleton. If you already have the service why do you want to generate the skeleton ?, which is not need.
If you have created the service from WSDL2Java then the best way is to edit the WSDL and then code gen. Or you could add the method to Skeleton, but you have to make sure you somehow reflect that to WSDL. Deepal > > Hi everyone, > > This may be a silly question but what’s the best way to add a function > to an existing Axis 2 service? I wrote an Axis 2 service from scratch > that has over a 100 functions by first creating the WSDL and then > running WSDL2Java and implementing the business logic in the Skeleton > class. Now I want to add a function. If I add it to the WSDL and > re-run WSDL2Java, then at best, I’ll have to copy and paste code from > the old Skeleton class to the new one, which is unwieldy. > > What’s the best way of adding a function to an existing Axis 2 service > that was written from scratch using WSDL2Java? > > Thanks, > > Richard > -- Thank you! http://blogs.deepal.org http://deepal.org
