• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Different approaches to developing web services

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic