Products SOAP MTP for Jade and Light Agent Web Service Integration Toolkit
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.
You can see the original home page for this plugin here.
Web Service integration features
The following types of interoperation are supported:
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
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.
You may get the following exception when starting Jade:
java.lang.RuntimeException: java.net.URISyntaxException: 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.
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.