Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis and web service deployment

 
Raj Ohadi
Ranch Hand
Posts: 316
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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=*)


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic