Java Eclipse Web Service Primer Tutorial

Java Eclipse Web Service Primer Tutorial

Java Eclipse Web Service Primer Tutorial

Web Services allow for communication using the World Wide Web between two devices, as Wikipedia explains below. This tutorial is using Eclipse IDE which works on Mac OS X and Windows, but if you are interested, look at ASP.Net Web Service Primer Tutorial for a Windows only idea.

A web service is a method of communication between two electronic devices over the World Wide Web. A web service is a software function provided at a network address over the web or the cloud, it is a service that is “always on” as in the concept of utility computing.

The W3C defines a “Web service” as:

[…] a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.[1]

The W3C also states:

We can identify two major classes of Web services:

REST-compliant Web services, in which the primary purpose of the service is to manipulate XML representations of Web resources using a uniform set of “stateless” operations; and
arbitrary Web services, in which the service may expose an arbitrary set of operations.[2]

In this tutorial I wanted to show you the basics and closely followed the Eclipse IDE Java advice of this PDF document by T320 E-business technologies, for whose expertise I am very grateful (thank you, thank you, thank you, thank you).

Eclipse IDE is a great IDE for developing Android Apps via Java as we discussed in Android Application (on Windows) Primer Tutorial, and this time around we are going to use the Mac OS X Eclipse (because we don’t want to hide our eclipse behind a bushel!?). Will show you some information from Wikipedia about Eclipse below.

In computer programming, Eclipse is a multi-language Integrated development environment (IDE) comprising a base workspace and an extensible plug-in system for customizing the environment. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins, other programming languages including Ada, C, C++, COBOL, Fortran, Haskell, JavaScript, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework), Scala, Clojure, Groovy, Scheme, and Erlang. It can also be used to develop packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++ and Eclipse PDT for PHP, among others.

The initial codebase originated from IBM VisualAge.[2] The Eclipse software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-in modules.

Released under the terms of the Eclipse Public License, Eclipse SDK is free and open source software (although it is incompatible with the GNU General Public License[3]). It was one of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea.

This tutorial is a primer tutorial like the “Hello World” tutorial of Web Services accessing a local Apache Tomcat web server on a Mac OS X laptop, but it can easily be used as a starting point for your further investigation, as this is a large LARGE subject area.

Below are some good background reading for the concepts of this tutorial all via Wikipedia:

Maybe you’ll want to read about RESTful Web API as well.

Download and rename to Hello.wsdl as you see fit. This file is 90%+ used as the basis for PHP Web Service Primer Tutorial.

Some personal experience with Web Services and SAP B1 Web Services (ASP.Net) is shown here.

If this was interesting you may be interested in this too.

This entry was posted in Eclipse, eLearning, Networking, Tutorials and tagged , , , , , , , , . Bookmark the permalink.

21 Responses to Java Eclipse Web Service Primer Tutorial

  1. Odell Vrias says:

    I got what you intend, regards for putting up.Woh I am thankful to find this website through google. “Spare no expense to make everything as economical as possible.” by Samuel Goldwyn.

  2. Genie says:

    Hello.I like the blogs definitely. I need say that you perform a really great and complicated task. Done well! And please will never give up performing it! You are very talented.Thanks a lot!

  3. An outstanding share, I just given this onto a colleague who was carrying out somewhat evaluation on this. And he actually purchased me breakfast because I found it for him.. smile. So let me reword that: Thnx for the treat! Having said that yeah Thnkx for spending the time to debate this, I really feel strongly about it and love reading far more on this topic. If doable, as you become encounter, would you thoughts updating your blog with more details? It’s exceptionally helpful for me. Massive thumb up for this weblog place up!

  4. Right after examine a couple of of the weblog posts on your site now, and I truly like your way of blogging. I bookmarked it to my bookmark web site list and shall be checking once more soon. Pls try my internet site online as properly and let me know what you believe.

  5. grin says:

    Just a smiling visitor here to share the love (:, btw outstanding design and style. “Justice is always violent to the party offending, for every man is innocent in his own eyes.” by Daniel Defoe.

  6. pursue says:

    Terrific feelings you’ve got here.. Adoring the document.. thanks for your insight So pleased to get discovered this publish.. Is not it terrific once you acquire a great post?

  7. spell says:

    Appreciate the entry you delivered.. certainly, research is paying off. I value you revealing your viewpoint.. Get pleasure from the admission you made available..

  8. unique designs, many of them free of charge for download at

  9. Cloudonline says:

    Thank you for your explanations, good continuation

  10. store says:

    Thanks very much
    for taking the time to discuss and share this with us,
    I for one feel strongly about it and really enjoyed learning more about this topic.
    I can see that you possess a degree of expertise on this subjec
    Good luck

  11. Thanks admin
    for taking the time to discuss
    and share this with us

  12. good
    for taking the time to discuss
    and share this

  13. Here are free ad for your website

  14. Thesis says:

    Better to have loved and lost, than to have never loved at all

  15. links says:

    8. “I alone cannot change the world, but I can cast a stone across the water to create many ripples.” -Mother Teresa

  16. here says:

    The only true wisdom is knowing that you know nothing

  17. link says:

    Anyone who stops learning is old, whether at 20 or 80

  18. blog-kowsar says:

    It’s an awesome post in support of all the internet visitors

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>