in sensor networks, it is hardly possible to exchange
and process SOAP messages serialized to the verbose
XML text representation. To reduce the problem of
message sizes, the very simple approach would be
to use GZIP (Deutsch, 1996) to compress the SOAP
messages. But with this approach, it is still needed to
decompress the message on the sensor node to a large
XML message and process this message on the very
restricted hardware. For our approach we use XML
compression as described in (Werner et al., 2006) or
(Pfisterer et al., 2007) to reduce the message size.
The big advantage especially of Fabric/Microfibre ap-
proach of Pfisterer et al is that the compressed mes-
sages are directly decompressed respectively deseri-
alized to programming language data structures rather
than to a large SOAP XML message. Thus, on the
sensor node, the deserialized SOAP message is very
small and can be used right away without the need
of an XML processing which requires more hardware
resources than our sensor network platform can offer.
For the transfer of the compacted SOAP messages,
a web service transport binding which is optimized
for the requirements of communication in sensor net-
works is required. This Web Service Transport Bind-
ing for Sensor Networks (WSNTB) hides the com-
plexity of the integration of TCP/IP and sensor net-
work based communication from the application or
web service developer. There is no difference be-
tween the addressing of services in the sensor network
or in the TCP/IP network. The transport binding of-
fers a seamless integration of both ”worlds”. While
WSNTB will use TCP/IP for the communication out-
side the sensor network, it is highly flexible consid-
ering which transport or routing protocol to use in-
side the sensor network. WSNTB can be used with ev-
ery routing protocol which is available for the iSense
sensor network platform. For the convenient devel-
opment and access of web services, an integration of
WSNTB into a web services engine like Apache Axis2
is desirable.
To integrate web services provided by sensor
nodes into the business processes of organizations,
the sensor network services must be accessible by the
BPEL runtime hosted on an enterprise IT server. To
reach this goal it is required to extend a BPEL runtime
(such as the Apache ODE BPEL runtime (Apache
Software Foundation, 2009)) with the XML compres-
sion capabilities and web service transport binding
WSNTB described above.
However, to deploy BPEL web services not only
on enterprise servers but also on sensor nodes, fur-
ther adaptations are required. The sensor nodes’ re-
source constraints inhibit the interpretation of BPEL
process descriptions on the node at run-time. Instead,
the BPEL description has to be compiled on a PC at
design-time to optimized machine code for the target
platform and can then be transferred to the destina-
tion node. For the communication between the BPEL
process and other services, WSNTB can be used as
well. As sensor network web services, these BPEL
processes will also be able to call web services pro-
vided by other sensor nodes as well as by enterprise
servers. The representation of the XML data and mes-
sage types for the communication with the BPEL pro-
cess as well as the data representation of the BPEL
process itself will be realized by using programming
language data structures automatically generated by
the Fabric/Microfibre toolkit.
The final issue to address is the service descrip-
tion. For the sake of compatibility, the description
of web services should be done using WSDL. As
web services usually describe themselves, the WSDL
description consequently has to be stored on the re-
source constraint device itself. The required ex-
tremely compact representation of the description can
be achieved by applying Fabric/Microfibre.
4 CONCLUSIONS
Two major but so far unfortunately separate trends of
the Future Internet are the integration of all kinds of
resource constrained devices and a consequent service
orientation. To integrate these two, we pinpointed the
need for research action on different layers of the web
service technology stack and discussed promising so-
lutions. We proposed WSNTB to address the need for
a compact XML serialization, low processing over-
head and a seamless transport protocol integration. In
addition, we outlined how BPEL can be applied to re-
source constrained devices and the resulting services
can describe themselves efficiently.
REFERENCES
Apache Software Foundation (2009). Apache ODE. Tech-
nical report, WWW: http://ode.apache.org/.
Buschmann, C. and Pfisterer, D. (2007). iSense: A modu-
lar hardware and software platform for wireless sensor
networks. Technical report, 6. Fachgespr
¨
ach Draht-
lose Sensornetze der GI/ITG-Fachgruppe Kommu-
nikation und Verteilte Systeme.
Clark, J., Casanave, C., Kanaskie, K., B.Harvey, Smith, N.,
Yunker, J., and Riemer, K. (2001). ebXML Business
Process Specification Schema Version 1.01. Technical
report, UN/CEFACT & OASIS.
Deutsch, P. (1996). GZIP file format specification
WEBIST 2009 - 5th International Conference on Web Information Systems and Technologies
76