You can deploy programatically without creating .aar file...just create
services.xml inside META-INF and corresponding class file...and deploy
programatically..

e.g. lets say we have a service called ABS

1. Create a folder ABS
2. Create META-INF folder inside ABS and place services.xml inside ABS
3. Place your class file inside ABS

Now following code deploy your service:

DeploymentFileData serviceData = new DeploymentFileData(servDir);
ServiceDeployer serviceDeployer = new ServiceDeployer();
                    serviceDeployer.init(AXIS_CONFIG_CONTEXT);
                    serviceDeployer.deploy(serviceData);


You also can deploy your class file in the class folder but you still need
.aar file that consists only META-INF (with services.xml inside)..

hth,
chinmoy



On Thu, Dec 17, 2009 at 4:19 PM, Rahul Chaturvedi
<[email protected]>wrote:

>  Hello All,
>
> I need to get rid of .aar file.
> If I deploy the classes in the classes folder and put the services.xml into
> META-INF of the current war I have, it doesn't work.
>
> How can I achieve the aforesaid. Any pointers/suggestions are welcome.
>
> Regards,
> Rahul
>
>

Reply via email to