Web Services Demos


This section deals with Axis Web Services running on Tomcat
I am using Soap 1.2 on Tomcat 5.5

This is not made to be pretty, but informational.

Web services can be powerful tools.
I personally believe that reusable code in the form of code is a total wash.
Projects differ enough from each other and trying to get updates propogated to all
the projects using that code is just too fallible.
Web services can be used to develop your core, behind the scenes code to handle all
database access and business logic and then be accessed to produce screens.
Since everything would run through services, there would be no code or classes to copy
to the projects that use them. And most of the time there are ways to generate the
stub classes to work with those services, so a simple message stating updates would be sufficient
to alert users to regenerate their stubs if necessary, and if care were taken to avoid
version compatibility problems, then even that would not be necessary unless a user
wanted to take advantage of the updates. In my opinion, deprecation is horrible and
100 percent backward compatibility is the key to successfully meeting web development needs.


The first several demos deal exclusively with the client side.
All of these examples are fully functioning JSP's and include their own source code,
which incidentally is retrieved via a web service!.
They can be copied, deployed on your own JSP server and run just fine.
They can be accessed here!

Here I downloaded Google's wsdl and made a little search client

Here is a simple Ajax Demo

Here is an Ajax Demo that submits two forms on one page

Then I will describe the server side.
These examples can be run on Tomcat and also work on Weblogic(with a little config changes for 8.1),
although better classes can be made for use with Weblogic 8.1.
They can be accessed here!

I will also be going into detail on setting up tomcat on Windows 2000 Server with IIS
using multiple domain names.
That can be accessed here!

If at any time you find something that is not explained clearly enough or is lacking any details,
or if you want to see a different example I have not provided
please let me know so I can make an update for future readers.
Also, if anyone submits code in other languages that call these services I will post that
code on the respective page!

Thanks to the world of spam, I refuse to post my email address in any way shape or form here, so
along the lines of web services, I have provided a jsp that will send me an email via a web service!
That can be accessed here!

todo: generating stubs from wsdl

Last updated Wednesday, September 7th, 2005