Meaningless Drivel is fun!
The moose likes Web Services and the fly likes wsdd and wsdl in Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdd and wsdl in Axis" Watch "wsdd and wsdl in Axis" New topic

wsdd and wsdl in Axis

mark I thomas
Ranch Hand

Joined: Apr 07, 2008
Posts: 86
I read some article and it says the standard way to expose a java code as a WS is:

1) create java code
2) run java2WSDL to create WSDL
3) rin WSDL2Java to create server/client code and deploy.wsdd and undeploy.wsdd


A) Then where does server-config.wsdd fit ? In which step is server-config.wsdl created ?

B) I heard there are 2 ways to deploy a WS in Axis:
First, just put java code as .jws, Axis takes care of everything
Second, use server-config.wsdd to customize things. For this second way, do we still have to go throught the "run java2WSDL" and "WSDl2java" ? Is it possible to just put the java code there and specify things in server-config.wsdd, then Axis will create WSDL and other things automatically ? How do things work here ?

Toma Gonzale

Joined: May 14, 2012
Posts: 2

Put server-config.wsdd file in the WEB-INF directory.

With this file and using Axis, you only have to config the wsdd file with the class you desire be published as an Web Service

It is very simple.
I agree. Here's the link:
subject: wsdd and wsdl in Axis
It's not a secret anymore!