This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdd and wsdl in Axis" Watch "wsdd and wsdl in Axis" New topic
Author

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

Question:

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 ?


Thanks.
Toma Gonzale
Greenhorn

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: http://aspose.com/file-tools
 
subject: wsdd and wsdl in Axis