To build and run the examples, first edit the build.properties file in this
directory and change the axis-home value to the Axis2 installation directory on
your system. Then open a console in the example directory and run "ant" to
build that example - this will first compile the /start directory code, then
generate the binding+WSDL+schema in a /gen directory, next run the Axis2
WSDL2Java tool to generate the Axis2 linkage code, and finally compile both
client and server code and create the service .aar file. You can then upload the
generated *.aar to your Axis2 service installation and run "ant run" to try it
out.

In the case of example4, there are three separate variations of the build. The
first one just uses the command line, while the other two use different
customizations. To build with the first customizations, "custom1.xml", use
"ant prepare1". To build with the second customizations, "custom2.xml", use
"ant prepare2". In each case you can upload the created .aar to your Axis2
installation and run "ant run" to try it out, just as with the default build.

The infoq-example project uses the sample code shown in the InfoQ article
"Code First" Web Services Reconsidered, at
http://www.infoq.com/articles/sosnoski-code-first

To view the actual XML message exchange for any of the examples, you can run
Tcpmon (several versions are available online) and uncomment the commented-out
lines in the "run" task near the end of the build.xml for each example. This
will make the client use port 8800 rather than 8080 to talk to the server, so
that Tcpmon can intercept the communications.

The examples as provided will compile and run properly using Axis2 1.3; if
you're using an older version of Axis2, you'll need to rename AddDuplicateFault
to AddDuplicateFaultException in the example1-4 client and server directory
.java files.

Jibx2Wsdl is itself compatible with 1.4 JVMs (and potentially 1.3, though this
has not been tested). Some of the examples use generic collections and Java 5
enums, and for these examples Java 5 or later is required.