Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different approaches to developing web services

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am aware of below approaches to developing web services either using AXIS or WSAD.

a. write a wsdl file and then use the tools provided by AXIS/WSAD to generate stub and skeleton and then modify the generated implementation class (suffixed by Impl)

b. write a java-bean/ejb and invoke the tools provided by AXIS/WSAD to create wsdl,stubs,skeltons

If before hand if we cannot implement the actual service bean(either ejb or simple java bean) and write the wsdl to just define the web service contract between the client and server i and finally go by above approach a. I think we need to have a knowledge of writing wsdl files and schemas to validate to such hand-written wsdl files .

Now my question is
a. are there any tools that generate wsdl files for us by some user interfaces and keep our wsdl files less error prone ?
b. if we use approach b then how to actually write the implementation class
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nritya Priya:

b. if we use approach b then how to actually write the implementation class

java2wsdl will do it for you.
if you use approach b then you will be using Java2WSDL (apache axis) utility over the java interfaces. Now you have to modify the generated implementation file for your need.
See Java2WSDL
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic