File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Different approaches to developing web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Different approaches to developing web services" Watch "Different approaches to developing web services" New topic
Author

Different approaches to developing web services

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
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


RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
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


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Different approaches to developing web services
 
Similar Threads
Tutorial: Make any EJB Session Bean a Web Service with Axis
Sample Questions for 288 - Need answers
J2EE web services, Axis, JWSDP
Tutorial: Make any EJB Session Bean a Web Service with Axis
Different approaches to developing web services