File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Developing web services need help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Developing web services need help" Watch "Developing web services need help" New topic

Developing web services need help

roma david

Joined: Feb 07, 2010
Posts: 1
I have to develop a web service using AXIS2. I am very new to WS.

1. I get particular home for sale details from oracle 11g database and I convert this into java objects. This is done.

2. Now, I have to develop a web service using AXIS2 and publish this service (deploy the service). Whomever consume my ws would send a request with particular id and zip code I will validate it and response back.

Please let me know the steps to do the 2nd step. Thanks.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
How to go about doing step 2 depends on whether you want to do Java-first or WSDL-first development.
Java-first is the simpler alternative and for this case take a look a:
For the second alternative, WSDL-first, take a look at:
Best wishes!
aanshu gupta

Joined: Feb 08, 2010
Posts: 23
Axis2 has built in JAVA2WSDL and WSDL2JAVA which you can use to generate the reqd artifacts. i would suggest you use eclipse. it has built in plugins in which its v easy for you to develop the web services. i am myself new to web services but eclipse made my life easier.

Anshu Gupta, Persistent Systems Limited, India
SCJP 5.0, SCWCD 5.0
Paulo Carvalho
Ranch Hand

Joined: Nov 12, 2008
Posts: 57
You can use this tutorial for using eclipse with axis2 to develop a web service...
I agree. Here's the link:
subject: Developing web services need help
jQuery in Action, 3rd edition