Java Building a Simple Web Service ? A Tutorial Tutorial
In this tutorial we will create a simple web service and a client web application using eclipse IDE along with Lomboz plug in. We will also deploy and test the web service on Tomcat 5.5.4 web application server. This application, while simple, provides a
(Jeeva has over 7 years of experience
in designing and developing enterprise class web applications using JAVA and
He currently works for Itreya Technologies,
Bangalore, leading a team of over 10 programmers and designers, developing a
multi-user, distributed, web-based workflow application)
this tutorial we will create a simple web service and a client web application
using eclipse IDE along with Lomboz
will also deploy and test the web service on Tomcat 5.5.4 web application
server. This application, while simple, provides a good introduction to Web
service development and some of the Web development tools available.
servlet error ?org.eclipse.jst.ws.util.JspUtils cannot be resolved or is
not a type? is thrown on the browser, then copy the webserviceutils.jar
file from the E:\Eclipse3.1\eclipse\plugins\org.eclipse.jst.ws.consumption_0.7.0
into the WEB-INF\lib folder of the WebServiceTutorialClient application and
restart the Tomcat server.
browser displays the methods available in the web service.
on the sayHello(..) method, enter your name (for e.g. ?Jeeva?) in
the inputs section and click ?Invoke?.
browser greets using the web service.
WSDL for the Hello Web service can be found in E:\Test\WebServiceTutorial\WebContent\wsdl\Hello.wsdl.
On double-click, the WSDL opens in a graphical editor.
on the WSDL file and explore the options to test the web service / publish
the WSDL file / generate client / etc.
tutorial we learned how to create a simple web service and a client web
application using eclipse IDE along with Lomboz
also deployed and tested the web service on Tomcat 5.5.4 web application server.
This application, while simple, provides a good introduction to Web service
development and some of the Web development tools available.
March 22, 2012
Hello...If we just want to to send an integer from the server to client and and the oposite what we have to vhange to this tutorial to do that??? thanks!
March 22, 2012
Hello...I want to send from the server to client an integer...What i have to change in this tutorial to do that ???
April 22, 2012
I'd like to make a web service that allows to find the shortest path between bus stations with Dijkstra's algorithm, then the path will be displayed on a map. (I have a database that contains the coordinated stations) but I do not know "how to start": , I am really blocked for a week and i dont find any thing :( , i dont find a tutorials as this subject :( :( :(
( This web service will be used by my android application)
realy i need help :(
(i use eclipse)
thank you in advance :)ï»¿
April 29, 2012
if any body have any idea that can help me I would be grateful:
So i want to creat a web service that display the bus that has the shortest path. i have a dijkstra java class and i have a data base that contain the coordinate of bus station and the distance between them . the point of start and arrival will be choosen in my android app and thes coordinate will be send to my web service in a array list but i cant translate this into a code; my problem is in the web service side : in wich class i will do the connexion to my data base to find the shortest path between this tow point and what is the query that i need ... im soory but i need help
thank you in advance
May 3, 2012
Hi Jeeva, I was following this basic web service flow which you are mentioned above. But i dint see any explanation jsp file which you mentioned in 14th point. can you please help me out to where i can find that part.
July 2, 2012
thank you. it is easy to understand.
August 28, 2012
September 26, 2012
Thank you for your subject. very helpfull
October 15, 2012
Thanks for this
I am a fifth grader and this really helps for my school project.