Hi Martin, 

I have some custom configuration which should be described in my
Services.xml file.

Iam searching whether there is any API in Axis2 which helps in creating the
Services.xml file.

 

 

Thanks

--Phani

 

  _____  

From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 29, 2008 7:29 PM
To: [email protected]
Subject: Re: Programatic Deployment

 

the short answer is yes as this is the easiest way to create all 3 necessary
files
Axis2 service
client

sample build.xml which will create aar for upload to Axis2Servlet

 

M-

----- Original Message ----- 

From: Phani <mailto:[EMAIL PROTECTED]>  

To: [email protected] 

Sent: Tuesday, January 29, 2008 8:18 AM

Subject: Programatic Deployment

 

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