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 Web Services - beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services - beginner" Watch "Web Services - beginner" New topic

Web Services - beginner

Geoff Garcia

Joined: Jul 10, 2003
Posts: 22
Built a web app running on Apache Tomcat using struts.
Have another app on the same environment very similar, but not using struts (just jsp, but same API's)
Someone on another server here wants to access some of the API's for the app. The project manager is insisting on using "Web Services"
I know vaguely that means that some type of xml file will be generated that specifies which methods are available, and then the other server/code can open a port and make some calls to these API's...
is that the thick n thin of it?
I don't even know where to begin? any web Services for retards books out there? or anyone wanna give me a few steps to follow?
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
You've got the general idea. I would start by browsing (Apache Axis is the de-facto standard open source Java tool for web services) and reading their docs. Other suggested online resources would be the Java Web Services Tutorial by Sun Microsystems (you can safely skip chapters about XML parsing/binding, servlets, etc. There's really only a handful of chapters about web services).

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi I am also a newbie in this stuff and installed java web services. I try to run some examples but the problem is most example are so advanced with xml, tags, jstl usage that i am getting blur. I only needed a simple jsp file only just as a platform to start together with the directories so that can be compiled by ant and deployed on the web services. Is there any simple examples that someone has posted on the net somewhere?
I agree. Here's the link:
subject: Web Services - beginner
It's not a secret anymore!