File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis and web service deployment" Watch "Axis and web service deployment" New topic

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

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"/>

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=*)

I agree. Here's the link:
subject: Axis and web service deployment
It's not a secret anymore!