ISSN 2320 - 2602 7 No.9, September 2018and Technology, 7(9), September 49-58, 2018 Talaam K. Obadiah et al., International Journal ofVolume Advances in Computer Science International Journal of Advances in Computer Science and Technology Available Online at http://www.warse.org/IJACST/static/pdf/file/ijacst01792018.pdf https://doi.org/10.30534/ijacst/2018/01792018
Efficient Simple Object Access Protocol (SOAP) Messaging for Mobile Devices in Android Platform Talaam K. Obadiah1, George O. Okeyo2, Michael W. Kimwele3 Jomo Kenyatta University of Agriculture and Technology, Kenya, obadiahtalaam@gmail.com 2 Jomo Kenyatta University of Agriculture and Technology, Kenya, gokeyo@jkuat.ac.ke 3 Jomo Kenyatta University of Agriculture and Technology, Kenya, kimwele@icsit.jkuat.ac.ke
1
systems, as each system can be developed and operated independently, while at the same time enabling interoperability as long as the systems comply with the agreed upon interfaces. SOA as a concept can be realized using a number of different technologies, the most common being Web services [1].
ď€
ABSTRACT Service Oriented Architecture, and its most common implementation method Web services, has not seen widespread use on wireless mobile systems and smart devices that are characterized by less computational resources such as small computing devices and limited power and wireless networks characteristics like low bandwidth which is often ad hoc and unreliable. Web services are commonly realized on computer systems where processing resources and network bandwidth are not a limitation.
Web services provide a standard means of interoperating between different software applications, running on a variety of platforms and/or frameworks. Web services are usually realized on computer systems where processing resources and network bandwidth are not a limitation and haven’t been widely employed to mobile systems that are characterized by less computational resources (e.g. small computing devices and limited power), and wireless networks characteristics (e.g. low bandwidth, often ad hoc and unreliable)[2]. In such cases reducing the size and frequency of messages and using transport mechanisms that are tolerant of such conditions can help mitigate the effects of the limited conditions.
Android is one of the largest open-source operating systems for smart devices, but lacks native support for the SOAP protocol. Google has shown, to date, little interest in adding a SOAP library to Android. This could be because they would rather support the current trends in Web Services toward REST-based services, and using JSON as a data encapsulation format or using XMPP for messaging. However, this is a conjecture subject to future research.
The Mobile phone industry is enjoying an escalating growth all over the world. Smart phones have become a part of our daily lives and more than 80% of the world population today owns a mobile phone. There have been significant advances in the mobile device space during the last decade. They now have better CPU and memory capabilities, embedded hardware such as camera and Wi-Fi, and in-built sensors such as GPS, accelerometer, gyroscope and magnetic field sensor, making them usable in versatile scenarios. We also have achieved higher data transmission rates for mobiles with the advances in 3G, 4G and Wi-Fi, paving way for mobile commerce and location based services. The advances in the mobiles and the adaptation of component based SOA everywhere have made the space for mobile web services.
SOAP is the backbone protocol of Web services hence this thesis will focus in supporting SOAP on the android platform. We will explore and compare different transport protocols and compression techniques in order to achieve an efficient technique for SOAP messaging. The experiment will be done on mobile broadband (second, third and fourth generations) and Wi-Fi to examine the effects the different combinations has on CPU load and battery usage of the Android device, and the network load. Key words: Android, SOAP, SOA, web services, XML, compression techniques and transport protocols, 1
While the advances in the mobiles are significant and they are also being used as service providers, they still have certain limitations. Battery life is one space where the advances are not sufficient. Mobile battery still lasts only for about one or two hours, if used for continuous computing. Wireless charging of mobiles is a good solution to deal with the problem [3]. Even though computing power and memory capacities of these devices are constantly improving, the dependency on battery power and wireless networks calls for improved solutions when implementing SOA on wireless systems. To interact with Web services, SOAP is used which
INTRODUCTION
Service Oriented Architecture (SOA) is a paradigm for organizing and utilizing distributed capabilities that may be under the control of different ownership domains. Central to SOA is the principle that functionality should be broken down into locally stand-alone services, complete with explicitly defined and described interfaces. This principle means that the SOA concept is well suited for building federations of
49