Hi,

Iam new to Axis and I want to know a webservice programmatic deployment
using axis2.

 

Is there any API to create the Services.xml file programmatically in axis2.

In axis1.x, we created deployment info(wsdd) and used AdminClient which
handles the creation of server-config.wsdd and the webservice deployment as
shown below.

 

Options options = createOptions(adminServiceURL);

        FWSDDDeployment fwsddDeoloyment = generateWSDDDeploymentInfo();

        String wsddDeployment = toString(fwsddDeoloyment);

        adminClient.process(options, new
ByteArrayInputStream(wsddDeployment.getBytes()));

 

 

And after the services.xml creation, do I need to create a .aar archive with
Services.xml and use that for deployment ? 

 

Do we need to use WSDL2JAVA tool in programmatic deployment.

 

 

 

Thanks in advance

--Phani

 

Reply via email to