This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

wsdd and wsdl in Axis  RSS feed

 
mark I thomas
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!