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
posted 11 years ago
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