You can try using inheritance here. Put all business logic in child
class.

 

 

Regards,

Prateek Jain

Senior Software  Engineer

Tel. +91-124-3936144 | Mob. +91-9958646136

iSmart Panache (I) Solutions Pvt. Ltd.

Plot No. 52, Sector 32, Institutional Area, Gurgaon 122001, Haryana 

www.ismartpanache.com <http://www.ismartpanache.com/> 

<http://www.ismartpanache.com/> 

-----------------------------------------------------

Expectations ::: causes all troubles

-----------------------------------------------------

________________________________

From: Richard Hu [mailto:[email protected]] 
Sent: Saturday, May 02, 2009 12:42 AM
To: [email protected]
Subject: Best way to add a function to an existing Axis 2 service

 

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

Reply via email to