Hi Phani,
An axis2 service can be programatically deployed as follows. Please read
http://wso2.org/library/2546 (Deployment options in Axis2) for more
information.
|ConfigurationContext configContext = getConfigurationContext();
File serviceArchiveFile = new File("Location of the file");
AxisServiceGroup serviceGroup =
DeploymentEngine.loadServiceGroup(serviceArchiveFile,configContext);
regards
Charitha
|
Phani wrote:
Hi,
Iam new to AXIS and Iam working on axis migration from 1.2 to axis2.
In axis1.2, to deploy a webservice we created the server-config.wsdd file
and used AdminClient to deploy the service.
String wsddDeployment = toString(fwsddDeoloyment);
adminClient.process(options, new
ByteArrayInputStream(wsddDeployment.getBytes()));
Is there any similar class in axis2 to do the deployment (other than
manually copying .aar file in webapps) ?
Thanks
--Phani
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]