This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Web-app to web-service (Axis) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web-app to web-service (Axis)" Watch "Web-app to web-service (Axis)" New topic
Author

Web-app to web-service (Axis)

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
I want to convert a web-application to web-service, and i want to know what are the changes i need to make.

I have been through the second page here

http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2

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?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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.

I did this survey article to try to explain the REST side of the REST v SOAP question.

Who are the potential customers for your service? Have they already decided that they want a SOAP service?

Bill
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
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 ]

Ping & DNS - my free Android networking tools app
 
 
subject: Web-app to web-service (Axis)
 
Similar Threads
generate AXIS server-config.wsdd ?
Web Services newbie
How can I automatically build a wsdl file with SOAP?
How to run sample web service
New to WebServices - Want to have a head start