This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread 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 Head First Android this week in the Android 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=*)


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Axis and web service deployment
 
jQuery in Action, 3rd edition