wood burning stoves*
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 Android Security Essentials Live Lessons 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=*)


 
Don't get me started about those stupid light bulbs.
 
subject: Axis and web service deployment
 
Similar Threads
creating the wsdl + Pleeezz help
Deploying a web service on an actual server
Use Web Service
accessing a .NET webservice
Error when deploying Web service to Axis runtime