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 ?
posted 3 years ago
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