dcsimg
How to achieve 'cold' deployment of web service in Axis
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   yraj_waswani
Posted On:   Tuesday, May 27, 2003 08:02 AM

The Axis way of deploying a web service to Axis registry (server-config.wsdd) is through invoking AdminService on a running Axis server. Effectively, it seems that AdminService does nothing more than appending the contents of service deployment descriptor to server-config.wsdd.


How do I achieve the same purpose without the need of "invoking AdminService"? Does Axis provides any such mechanism...a kind of tool just like WSDL2Java, which can simply be run from console and takes parameters? I do not expect a developer in development environment to repeatedly 'Hot-deploy' his service.

Re: How to achieve 'cold' deployment of web service in Axis

Posted By:   madhav_sathe  
Posted On:   Sunday, June 22, 2003 09:58 AM


The other way of deploying web service in Axis is to copy the .java file in the Axis application folder hosted on the server(Usually tomcat) and rename it to .jws file (Make sure that the file is without any compile time errors).


Then you can simply get the WSDL file by appending the "?WSDL" to the URL of the .jws file from your browser. Use WSDL2Java tool to get the proxy classes and use the web service.
About | Sitemap | Contact