This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Developing web services need help" Watch "Developing web services need help" New topic
Author

Developing web services need help

roma david
Greenhorn

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
    
    1
Hi!
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: http://ws.apache.org/axis2/1_5/pojoguide.html
For the second alternative, WSDL-first, take a look at: http://today.java.net/pub/a/today/2006/08/08/contract-first-web-services-with-axis2.html
Best wishes!
aanshu gupta
Greenhorn

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...

http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Developing web services need help
 
Similar Threads
RESTFul webservice with axis2
Asynchronous Web services with Axis2
Invoking HTTPS webservice
Existing java class as a web service using axis2
writing web service client.