You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Phani <ph...@fiorano.com> on 2008/01/21 14:12:19 UTC
Deploying a WebService using axis2
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Deploying a WebService using axis2
Posted by Charitha Kankanamge <ch...@wso2.com>.
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: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org