• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wsdd and wsdl in Axis

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic