This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It does tell me how to use java2wsdl and wsdl2java tool, but then some commands dont work for me, am using axis2-1.4 the latest one from Apache's site.
can somebody in easy step tell me how do I expose this method out and reach to it from outside...
Something i understand so far, 1. web.xml is used to provide mappings and redirect incoming requests. 2. java2wsdl and wsdl2java are tools to convert from java to wsdl and wsdl to java respectively. 3. For my class do I need to generate wsdl? 4. what is a namespace? 5. what is stub and skeleton? do I still need wsdl file after generation of these? 6. UDDI is something that exposes the service, but where and how a uddi is configured?
You seem to be assuming that a SOAP based web service is what you need. Please be aware that many big commercial web services are REST based because the REST approach is simpler and easier to describe to users.
In addition to what William said, just a couple of comments to your questions:
#1: web.xml is used for web apps; it has little or no use for WS. (Many WS engines are implemented as web apps -and so do have web.xml files- but you as the WS developer don't need to worry about those.)
#6: UDDI is a registry service; it has not become popular, and you should disregard it. You don't need it to publish a WS. [ July 31, 2008: Message edited by: Ulf Dittmer ]