SOAP MTP for Jade
and Light Agent Web Service Integration Toolkit

This is an add-on for the Jade agent development framework which enables Jade platforms to communicate via SOAP messages instead of HTTP or IIOP. It uses Apache CXF for sending and receiving SOAP messages. The approach is pretty simple, it sends the ACL envelope and payload as two message parameters to the other Jade platform. There is no mapping of ACL envelope to SOAP headers, so SOAP headers remain free to be used as necessary by the hosting environment. It is easy to modify the conversion process of outgoing and incoming SOAP messages using CXF interceptors.

NEW: Web Service integration features

The following types of interoperation are supported:

  1. Agents can simply call Web Services (this is independent of agent messaging, and it is done synchronously). For an example, see SoapSendBehaviour.send1() in the samples package.

  2. It is possible to send SOAP messages to agents inside a platform (if it knows the address of agent platform and the GUID of the agent). The addressed agent receives the message as a normal agent message, but it cannot reply or send response. For an example, see SoapSendBehaviour.send2() in the samples package.

  3. Agents can easily provide Web Services. When such a WS is called, an agent method is executed where the agent can provide the response. For an example, see SoapServiceAgent in the samples package.

Please note that the approach uses plain Java objects instead of ontologies during communication.


You can download the current version here.


Everything is included; just unzip the downloaded file into the add-ons folder of Jade.
Tested with JDK 1.6 and Jade 3.6.1.

An example how to start Jade with SOAP MTP:

jade.Boot -mtp hu.sztaki.dsd.jade.mtp.soap.MessageTransportProtocol -mtp_soap_port 1080 -mtp_soap_conf cxf.xml -gui

Configuration options:

You can use 'ant run' and 'ant run2' to start two Jade platforms and test communication between them.

Examples for CXF and logging configuration are provided in the examples folder.

Known problems

You may get the following exception when starting Jade:

java.lang.RuntimeException: Illegal character in path at index 13: commons-codec\commons-codec-1.3.jar

In this case you have to modify the META-INF/MANIFEST.MF file in your jade.jar: change the entry in the class-path from commons-codec\commons-codec-1.3.jar to commons-codec-1.3.jar. (Apache CXF does not like the backslash here.)

For certain setups you need to have javac in your PATH, otherwise you get IOException during exec() of compiler "javac". Check your path environment variable.


Andras Micsik, MTA SZTAKI DSD

Peter Pallinger, MTA SZTAKI DSD

Please post your comments about the add-on in this forum.


This add-on is licensed as LGPLv2.1.


The development has been supported by the BREIN project and has been partly funded by the European Commission’s IST activity of the 6th Framework Programme under contract number 034556.