This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Axis and web service deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis and web service deployment" Watch "Axis and web service deployment" New topic
Author

Axis and web service deployment

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I read some tutorial about using Axis. It says you can deploy the .class file to the server, and then you cna create .wsdd file describing your service details. Then that's it. You can write client to access your deployed web service.

I don't understand --

1. In this case why you don't need to do "java2WSDL" and "WSDL2java" ? Is it because Axis does that for you automatically ?

2. Why you don't need to create deploy.wsdd and undeploy.wsdd ?

Toma Gonzale
Greenhorn

Joined: May 14, 2012
Posts: 2
You can create a file server-config.wsdd with the information for Axis to do the deploy.

For example:

<service name="MyClass" provider="java:RPC">
<parameter name="allowedMethods" value="*"/>
<parameter name="className" value="lo.webServices.MyClass"/>
</service>

With above configuration you are deploying a Web Service called 'MyClass' implemented in the class lo.webServices.MyClass and those all methods can be accesed (allowedMethods value=*)


 
wood burning stoves
 
subject: Axis and web service deployment