Description
----------------------
This directory contains ANT tasks (with source) for manipulating Actional Intermediary
and Actional Management Server using the SOAP APIs. There is an example build.xml
file in the example directory showing the operations that can be performed
from within ANT.

File / Directory List
----------------------
build.xml     - Compile the ant tasks.
readme.txt    - What you are looking at now
anttask       - The ant task source code for configuring the Actional products from ant.
classes       - Contains all the jar files for the ant tasks.
javadoc       - Javadoc for the ant tasks.
example       - Example ant file that uses the anttasks to automatically
                create applications, service groups, etc.
sdk           - The sdk source code containing helper functions to interact
                with Actional products.
javaClient    - Example command line java client that uses the sdk to create
                applications, service groups, etc.
runJavaClient - Executes the java client.
wsdl          - A cched version of the wsdl files.

System Requirements
-------------------
JDK - J2SDK1.5.1 or higher (available for download from http://java.com)
ANT - apache-ant-1.6.X or higher (available for download from http://ant.apache.org)


Setup to run example/build.xml
------------------------------
1) Install the JDK and ANT like normal.

2) Modify the example/build.xml file to specify the location of Actional Intermediary
and the url to the wsdl for the service to take under management. The properties
to modify are:
- soapstation_url
- soapstation_username
- soapstation_password
- urlToServiceWsdl

3) Call ant to execute the build.xml file in the example directory. This file
will perform several actions:
- Create 2 applications: DefaultApp, HeartBeatApp
- Create 2 pass through service groups: Group, Group2
- Deactivate Group
- Create a new revision for Group
- Activate the new revision
- Find the access point in the new revision
- Find a UDDIServer to publish the access point to (must already exists.)
- Publish the access point.
- unpublish the access point.
- Export the configuration
- Delete the created applications and service groups.
- Import the configuration

3) There is also a clean target to delete the applications and service groups
that were created.


Setup to build the ant tasks
------------------------------
1) Install the JDK and ANT like normal.

2) [optional] If Actional Intermediary or Actional Management Server is not 
running, then the local copies of the wsdl files will be used when generating 
the axis client stubs.

Modify the build.xml file to specify the location of Actional Intermediary.
The properties to modify or to specify on the command line are:
- url
- username
- password
- urlToServiceWsdl

Modify the build.xml file to specify the location of Actional Management Server.
The properties to modify or to specify on the command line are:
- source_url
- source_username
- source_password
- destination_url
- destination_username
- destination_password

3) Call ant to execute the build.xml file in the example directory. This file
will perform several actions:
- If a running Actional Intermediary and/or Actional Management Server is found, 
download the wsdl file.
- Use axis to generate client stubs in actional-taskapi.jar
- Build actional-soapapi-sdk.jar
- Build actional-anttask.jar
- Generate the zip file for distribution
