The REST-style (Representational State Transfer) architecture is a
popular approach of accessing and managing remote resources in the World
Wide Web. It relies on a stateless, client-server, cacheable
communications protocol - usually HTTP. The idea is that, rather than
using complex mechanisms such as CORBA, RPC or SOAP to connect between
machines, simple HTTP is used to make calls between machines. You can
read more about the REST approach in the REST
Tutorial blog or in the Wikipedia.
This implementation of the RESTful-style web service transport for XCS
eiConsole allows users to:
Define the HTTP method to perform on resource - GET, POST,
PUT, DELETE or HEAD
Compress request or request and response data using GZIP algorithm
Specify acceptable media type (e.g. 'application/json')
Specify query parameters key-value map
Specify username and password for HTTP authentication
Set the response listener
Below you can see the configuration panel of this Transport.
The RESTful Web Service Transport has been implemented using Open
Source Jersey project (version
1.20). Thus, it requires the following libraries to be in the classpath
of the XCS eiConsole and XCS eiPlatform:
You can download these file in the Documents section of this web page.
This module is open source you provided "AS IS", without warranty of any
kind. You can use it and its code for any purposes. The source code of
the module also can be downloaded in the Documents section of this page.
This module is provided with sample interface, that demonstrates how to
work with it. This interface basically runs empty transactions every 20
seconds, fires request to the 'http://search.twitter.com/search.json'
with query 'A2AIntegration' and puts data
to the output directory. The sample working directory is attached to
this product. You can download it from the Documents section on the
right hand side.
This is the initial release of the RESTful Web Service Transport.