Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Developing web services need help

 
roma david
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paulo Carvalho
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic