Implementing server side of a webservice framework on Android platform

OData support
Dr. Goldschmidt Balázs
Department of Control Engineering and Information Technology

The usage of Web services nowadays is wide spread since it provides a universal, interoperational communication between the various platforms that are present these days. There are many solutions for providing a Web service (e.g. the Java based JAX-WS, the .NET based WCF, or the nusoap library in PHP), but the Android platform has not yet provided a unified solution that is compatible with all of the servers and clients of the above mentioned platforms.

The Android platform covers a dominant part of the mobile market (about 81%, based on the statistics of 2013), and its market share is growing year by year. Since many hundreds of millions of devices are running the Android OS, it seemed plausible to implement the framework of a client-server based Web service on this platform.

This thesis presents the implementation of the server side of a Web service framework that has been created as part of a cooperative development with my partner, David Molnar. While development on the Android platform is made through Java programming, it may seem obvious to use the JAX-WS API, but the Dalvik virtual machine used by the Android platform does not support every library contained by the API. I had to come up with a new idea instead that implements the main functions provided by the JAX-WS API.

During the accomplishment of this thesis, I have implemented three WS specifications (WS-*) beside the server side of the Web service framework: WS-Addressing, SOAP-over-UDP and the UsernameToken which is part of the WS-Security.

This paper contains the description of the classes and the description of their main variables and functions which are created during the implementation of the Web service server. The paper also presents the dynamic operation of the server through sequence diagrams, and contains a chapter about testing the server with the client implemented by my partner, and testing it with a JAX-WS based client and with other online Web service clients.


Please sign in to download the files of this thesis.