SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Journal of Information Engineering and Applications                                                    www.iiste.org
ISSN 2224-5782 (print) ISSN 2225-0506 (online)
Vol 2, No.5, 2012


A Comparative Study of SOAP Vs REST Web Services Provisioning
                  Techniques for Mobile Host
                                           Kishor Wagh1* Dr. Ravindra Thool2
                          1.   Marathwada Mitra Mandals Institute of Technology Pune, India
                  2.   Shri Guru Gobind Singhji Institute Of Engineering & Technology, Nanded, India
                               * E-mail of the corresponding author: waghks@gmail.com


Abstract
Web services are moving towards mobile wireless world as a new emerging technology for mobile applications
communication. Now mobile devices can operate as web service providers due to the advancement in mobile device
capabilities and it has also become possible due to improvement in web service development technologies and
wireless communication techniques. Today’s most important need is to provide uninterrupted, lightweight,
continuous web services to resource constrained mobile device in wireless environment. This paper presents a
detailed comparison between two frameworks used for providing web services through SOAP and REST and also
discusses the problems and challenges in these two frameworks. With the help of comparison we can decide which
frame work is most suitable for wireless environment and fulfills the current needs of accessing lightweight mobile
web services continuously from resource constrained mobile device.
Keywords Mobile Web Services, SOAP, REST, RESTful


1. Introduction
Today is an era of Internet. There are various methods for interaction between user and Internet which is web
application through web services. Web services are based on the concept of service-oriented architecture (SOA).
SOA is the evolution of distributed computing, which enables software components, which includes application
functions, objects and process from different systems, to be exposed as a services. Service Oriented Architecture
(SOA) (Matthew et al. 2005) is a widely applied standard, reference model for service oriented computing and most
useful for realization of Web Services. According to the Gartner research (June 15, 2001), “Web services are loosely
coupled software components delivered over Internet standard technologies.” In short, Web services are
self-describing and modular business applications that expose the business logic as services over the Internet through
programmable interface and where IP can be used finding way to subscribes and invoke those services.
As per literature survey, mobile device can be used in four different ways for web services. These types are based on
role of mobile device used as consumer, provider or broker. Based on role of mobile device, these types are 1.
Mobile as a web service consumer. 2. Mobile to Mobile or Peer-to-Peer web services. 3. Mobile device as web
service provider and 4. Mobile Device as web service broker in P2P web services. In first case Mobile as web service
consumer – mobile acts as web service client and request web services from SOAP or REST framework. In second
case Mobile to Mobile or P2P – mobile is a part of Ad hoc network and each node in ad hoc network act as client or
server or both. In third case Mobile device as Web Service Provider – mobile act as web server and provides web
services to any type of client. In fourth case Mobile as web service broker – mobile device act as a locating web
services that are stored in other mobile in P2P network.
To meet the demands of the cellular domain and to maximize the benefits of the fast developing web services domain
and standards, the scope of the mobile device as web service providers is being observed. Also nowadays use of web
services on mobile devices become increasingly relevant because of development in processing capabilities of the
mobile devices. Also with advances in mobile communication technologies and wireless securities, now it has
become possible to host Web Services (WS) on mobile devices. Web services have a broad range of service client,
however mobile device have a large number of users which is always expanding. Therefore, it is possible to use
mobile device as web service provider. The paradigm shift to mobile phones from the role of web service consumer

                                                         12
Journal of Information Engineering and Applications                                                     www.iiste.org
ISSN 2224-5782 (print) ISSN 2225-0506 (online)
Vol 2, No.5, 2012

to the web service provider is a step towards practical realization of various computing paradigms such as pervasive
computing, ubiquitous computing, ambient computing and context-aware computing.
Mobile web services provisioning framework allows deploying, publishing, discovering and executing of web
services in wireless environment using standard protocols. Mobile web service provisioning can be classified based
on architecture as SOA (Service Oriented Architecture and ROA (Resource Oriented Architecture). SOA based web
provisioning uses SOAP (Simple object access Protocol) based web service framework and ROA based web
provisioning uses REST (REpresentational State Transfer) web service frame work.
The paper is organized as follows: section 2 illustrates state of art for providing web services from mobile device and
addresses main issues and challenges of provisioning of web services which also includes comparison of the two
different mobile host frameworks (SOAP and REST). Section 3 explores main blocks that are used for building web
services for mobile host. Section 4 summarizes the paper and discusses the future directions.


2. State of Art
The SOA and ROA, both are architectural design patterns and the corresponding distributed programming paradigms.
Both provide a conceptual methodology and development tools for creating distributed web services architectures.
ROA and SOA were named as resources and services.
The concept of provisioning web services from mobile device was first introduced in ( Guido Gehlen & Linh Pham
2005) by presenting a SOAP server works as middleware for a mobile web service provisioning. The feasibility of
mobile web services is proved along with performance analysis of the mobile hosts in (Srirama et al. 2006). After
that, this group started comprehensive research activity on same area. It uses SOAP as a messaging framework for
web services realization of SOA. SOAP is not made for resource constrained mobile devices but it is for fixed
network. The SOAP messages has heavy payload. In contrast, the REST messaging framework has lightweight
payload which is suitable for mobile as well as cellular network. REST identifies the service resources by single
URL only. Many Mobile web applications have been built over the last decade using SOAP-based web services.
But SOAP based web services was made for traditional network or fixed network. These web services are heavy in
nature and mobile is a resource constrained device.
Most of implemented web services frameworks are based on SOAP in client server environment discussed in (Berger
et al. 2003; Luqun 2008; Aijaz et al. 2008) and mobile web services was hosted in Peer to Peer network discussed in
(Asif et al. 2008; Hassa 2009). According to (Guido & Linh 2005) had developed the mobile host for heterogeneous
environment. The concept of REST based web services for mobile devices is introduced in (Fahad et al. 2009) and
comparison with SOAP architecture of HTTP payload is discussed in (Fahad et al. 2009; Hatem et al. 2010). Both
REST and SOAP frameworks are used for hosting web services on mobile. However, each has its own advantages
and disadvantages. The comparison of two frameworks discussed in table 1.
Table 1. Comparison of SOAP and REST based Web Services
                             SOAP                                                  REST
      It is well known old traditional Technology.             It is new technology as compared to SOAP
      Within the enterprise and in B2B scenarios, SOAP         This is not to say that REST is not enterprise
      is still very attractive.                                ready. In fact, there are known successful
                                                               RESTful implementations in mission critical
                                                               applications such as banking.
      In SOAP, Client-Server interaction is Tightly            In REST, Client-Server interaction is loosely
      coupled.                                                 coupled.
      In case of implementation, SOAP overtakes REST           But REST developers would argue that it’s got
      as there are established development kits in case of     interface flexibility.
      SOAP.


                                                          13
Journal of Information Engineering and Applications                                                             www.iiste.org
ISSN 2224-5782 (print) ISSN 2225-0506 (online)
Vol 2, No.5, 2012

      Changing services in SOAP web provisioning                  Changing services in REST web provisioning not
      often means a complicated code change on the                requires any change in client side code.
      client side.
      SOAP has heavy payload as compared to REST.                 REST is definitely lightweight as it is meant for
                                                                  lightweight data transfer over a most commonly
                                                                  known interface, - the URI
      It requires binary attachment parsing.                      It supports all data types directly.
      SOAP is not a wireless infrastructure friendly.             REST is a wireless infrastructure friendly.
      SOAP web services always return XML data.                   While REST web services provide flexibility in
                                                                  regards to the type of data returned.
      It consumes more bandwidth because a SOAP                   It consumes less bandwidth because it’s response
      response could require more than 10 times as                is lightweight.
      many bytes as compared to REST.
      SOAP request uses POST and require a complex                Restful APIs can be consumed using simple GET
      XML request to be created which makes                       requests,    intermediate      proxy      servers   /
      response-caching difficult.                                 reverse-proxies can cache their response very
                                                                  easily.
      SOAP uses HTTP based APIs refer to APIs that are            REST on the other hand adds an element of using
      exposed as one or more HTTP URIs and typical                standrdized URIs, and also giving importance to
      responses are in XML / JSON. Response schemas               the HTTP verb used (i.e. GET / POST / PUT etc)
      are custom per object
      Language, platform, and transport agnostic.                 Language and platform agnostic
      Designed     to    handle     distributed   computing       Assumes      a    point-to-point       communication
      environments.                                               model—not         for     distributed      computing
                                                                  environment where message may go through one
                                                                  or more intermediaries
      Harder to develop, requires tools.                          Much simpler to develop web services than
                                                                  SOAP
      False assumption: SOAP is more secure. SOAP                 REST assumes that the transport will be HTTP
      use   WS-Security.      WS-Security      was     created    (or HTTPS) and the security mechanisms that are
      because      the     SOAP        specification      was     built-in to the protocol will be available
      transport-independent and no assumptions could
      be made about the security available on the
      transport layer.
      Is the prevailing standard for web services, and            Lack of standards support for security, policy,
      hence has better support from other standards               reliable messaging, etc., so services that have
      (WSDL, WS) and tooling from vendors.                        more sophisticated requirements are harder to
                                                                  develop.


                                                             14
Journal of Information Engineering and Applications                                                      www.iiste.org
ISSN 2224-5782 (print) ISSN 2225-0506 (online)
Vol 2, No.5, 2012

The most important web provisioning issues while deploying web services on mobile are web service discovery,
device disambiguation and accessing large number of web services from mobile device will create bottleneck and
single point of failure. The mobility of devices raises several issues as well, for example, when mobile device is
moving from area to another at that time service discovery, networking, trust, and security are the major concerns
which are different from those in the domain of large stationary servers. Finally, the constraints on computational
power and battery life of mobile devices add another dimension to the challenge faced by this technology. Web
Services on mobile devices should also attempt to keep messages as short as possible and clients should tolerate
longer round trip times.


3. Framework Architecture
Today’s Web Service Frameworks are developed for static servers. These frameworks are heavy in nature. However,
these available frameworks are not suitable for resource constraint mobile device. Also these require continuous
running environment and also consume large amount of resources and which also lead to heavy discharge of the battery
power. So, hosting web services on mobile devices requires lightweight framework, which will allow ease of
deployment and thereby providing efficient and continuously executing web services and which in turn will save the
battery power.
The SOAP and REST frameworks are used to deploy web services on mobile device. Both frameworks are identical in
terms of architecture but they differ, in the context of handling and parsing the request. Both the frameworks have four
main core components as shown in figure 1. The uses of these components are as follows:
    1.   Http Listener: With the help of this block of web service, client can send request or receive response to/from
         mobile host.
    2.   Request Handler: The main function of this block is to process incoming request from client and send back
         response to the client. This block works differently in each framework. In SOAP based framework request
         handler will remove the incoming HTTP POST request to extract the hidden SOAP envelope then it will
         dispatch to the parser (kSOAP) module, but in REST based framework request handler will extract the
         HTTP request directly and send it to the message parser.
    3.   Parser Module: It is responsible for invoking web services such as name of the service and other required
         parameters. This invoked information is sent to the web service servlet block. In SOAP based Framework
         parser desterilizes the SOAP object and maps the data type into service name and other parameters, but in
         REST, massage parser maps the data type into service name and other parameters.
    4.   Web Service Servlet: It most important module in mobile web provisioning. It deploys the new web services
         on mobile host and supports invoking of requested services.


5. Conclusion
In this we have explored the frameworks used for provisioning web services on Mobile phone. This framework is
suitable for SOAP as well as REST. From the comparison between SOAP based framework and REST based
framework, we conclude that REST based framework is more suitable for handheld, resource constrained mobile
device and wireless network also the level of resource consumption is less in REST as compared to SOAP. But
SOAP framework is more secure as compared to REST. For reducing the payload size in SOAP we can use different
compression techniques. Regarding the future work will design hybrid framework to support various interfaces for
mobile hosted web services such as HTTP, Bluetooth, SMS etc on SOAP and REST.


References
Matthew MacKenzie C., Ken Laskey, Francis McCabe, Peter Brown, and Rebekah Metz(2005). “Reference Model
for Service Oriented Architectures.Published on the internet”, December 2005. OASIS Working Draft.
Guido Gehlen and Linh Pham.(2005), “Realization and Performance Analysis of a SOAP Server for Mobile
Devices,” In Proceedings of the 11th European Wireless Confernce 2005, volume 2, pages 791–797, Nicosia, Cyprus,

                                                          15
Journal of Information Engineering and Applications                                               www.iiste.org
ISSN 2224-5782 (print) ISSN 2225-0506 (online)
Vol 2, No.5, 2012

Apr 2005. VDE Verlag.
Srirama S.N., Jarke M., and Prinz W.(2006), “Mobile web service provisioning”, Proceedings of the Advanced
International Conference on Telecommunications and International Conference on Internet and Web Applications and
Services (AICT ICIW ’06), p. 120, 2006.
Berger S., McFaddin S., Chandra N. and Mandayam R.(2003), "Web services on mobile devices-implementation
and experience," in Mobile Computing Systems and Applications, 2003. Proceedings. Fifth IEEE Workshop on,
2003, pp. 100-109.
Luqun L.(2008), "An Integrated Web Service Framework for Mobile Device Hosted Web Service and Its
Performance Analysis," in High Performance Computing and Communications, 2008. HPCC '08. 10th IEEE
International Conference on, 2008, pp. 659-664.
Aijaz F., Adeli S. M. and Walke B.(2008), "Middleware for Communication and Deployment of Time Independent
Mobile Web Services," in Web Services, 2008. ICWS '08. IEEE International Conference on, 2008, pp. 797-800.
Asif M., Majumdar R. and Dragnea S.(2008), "Partitioning the WS Execution Environment for Hosting Mobile
Web Services," in Services Computing, 2008. SCC '08. IEEE International Conference on, 2008, pp. 315-322.
Hassan M.(2009), “Mobile Web Service Provisioning in Peer to Peer Environments” in Service Oriented Computing
and Applications, 2009, IEEE International Conference 2009, PP 1-4.
Guido Gehlen, Linh Pham(2005), “ Mobile Web Services for Peer-to-Peer Applications” in Consmer
Communcations and Networking Conference, 2005, Second IEEE, 2005, pp. 427-433.
Fahad Aijaz, Syed Zahid Ali, Muzzamil Aziz Chaudhary, Bernhard Walke(2009), “ Enabling High Performance
Mobile Web Service Provisioning,” in Vehicular Technology Conference Fall (VTC 2009-Fall), 2009 IEEE 70th,
2009, pp.1-6.
Fahad Aijaz, Syed Zahid Ali, Muzzamil Aziz Chaudhary, Bernhard Walke(2009), “Enabling Resource-oriented
Mobile Web Server for Short-Lived Services” in Malaysia International Conference on Communications (MICC’09),
2009 IEEE, pp 392-396.
Hatem Hamad, Motoz Saad, and Ramzi Abed(2010), “Performance Evaluation of RESTful Web Services for Mobile
Devices,” in International Arab Journal of e-Technology, Vol. 1, No. 3, January 2010, pp. 72-76




                                     Figure 1. The Main Components of Framework


                                                      16
This academic article was published by The International Institute for Science,
Technology and Education (IISTE). The IISTE is a pioneer in the Open Access
Publishing service based in the U.S. and Europe. The aim of the institute is
Accelerating Global Knowledge Sharing.

More information about the publisher can be found in the IISTE’s homepage:
http://www.iiste.org


The IISTE is currently hosting more than 30 peer-reviewed academic journals and
collaborating with academic institutions around the world. Prospective authors of
IISTE journals can find the submission instruction on the following page:
http://www.iiste.org/Journals/

The IISTE editorial team promises to the review and publish all the qualified
submissions in a fast manner. All the journals articles are available online to the
readers all over the world without financial, legal, or technical barriers other than
those inseparable from gaining access to the internet itself. Printed version of the
journals is also available upon request of readers and authors.

IISTE Knowledge Sharing Partners

EBSCO, Index Copernicus, Ulrich's Periodicals Directory, JournalTOCS, PKP Open
Archives Harvester, Bielefeld Academic Search Engine, Elektronische
Zeitschriftenbibliothek EZB, Open J-Gate, OCLC WorldCat, Universe Digtial
Library , NewJour, Google Scholar

Mais conteúdo relacionado

Semelhante a A comparative study of soap vs rest web services provisioning techniques for mobile host

A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsTony Lisko
 
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTMOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTijwscjournal
 
Mobile web service provisioning and
Mobile web service provisioning andMobile web service provisioning and
Mobile web service provisioning andijwscjournal
 
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTMOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTijwscjournal
 
Mobile Web Service Provisioning and Performance Evaluation of Mobile Host
Mobile Web Service Provisioning and Performance Evaluation of Mobile HostMobile Web Service Provisioning and Performance Evaluation of Mobile Host
Mobile Web Service Provisioning and Performance Evaluation of Mobile Hostijwscjournal
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsIOSR Journals
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Aravindharamanan S
 
A XMLRPC Approach to the Management of Cloud Infrastructure
A XMLRPC Approach to the Management of Cloud InfrastructureA XMLRPC Approach to the Management of Cloud Infrastructure
A XMLRPC Approach to the Management of Cloud Infrastructureiosrjce
 
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...IOSR Journals
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni InturiSreeni I
 
Application Oriented Networks: An SOA Perspective | Torry Harris Whitepaper
Application Oriented Networks: An SOA Perspective | Torry Harris WhitepaperApplication Oriented Networks: An SOA Perspective | Torry Harris Whitepaper
Application Oriented Networks: An SOA Perspective | Torry Harris WhitepaperTorry Harris Business Solutions
 
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...ijwscjournal
 
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Yogesh Santhan
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservicesGagandeep Singh
 
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...Abhishek Kumar
 
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...NAbderrahim
 

Semelhante a A comparative study of soap vs rest web services provisioning techniques for mobile host (20)

A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its Implications
 
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTMOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
 
Mobile web service provisioning and
Mobile web service provisioning andMobile web service provisioning and
Mobile web service provisioning and
 
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOSTMOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
MOBILE WEB SERVICE PROVISIONING AND PERFORMANCE EVALUATION OF MOBILE HOST
 
Mobile Web Service Provisioning and Performance Evaluation of Mobile Host
Mobile Web Service Provisioning and Performance Evaluation of Mobile HostMobile Web Service Provisioning and Performance Evaluation of Mobile Host
Mobile Web Service Provisioning and Performance Evaluation of Mobile Host
 
Lab7 paper
Lab7 paperLab7 paper
Lab7 paper
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone Platforms
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
S01725119124
S01725119124S01725119124
S01725119124
 
A XMLRPC Approach to the Management of Cloud Infrastructure
A XMLRPC Approach to the Management of Cloud InfrastructureA XMLRPC Approach to the Management of Cloud Infrastructure
A XMLRPC Approach to the Management of Cloud Infrastructure
 
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni Inturi
 
Soap Vs Rest
Soap Vs RestSoap Vs Rest
Soap Vs Rest
 
Application Oriented Networks: An SOA Perspective | Torry Harris Whitepaper
Application Oriented Networks: An SOA Perspective | Torry Harris WhitepaperApplication Oriented Networks: An SOA Perspective | Torry Harris Whitepaper
Application Oriented Networks: An SOA Perspective | Torry Harris Whitepaper
 
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
SOME INTEROPERABILITY ISSUES IN THE DESIGNING OF WEB SERVICES : CASE STUDY ON...
 
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
Project - UG - BTech IT - Cluster based Approach for Service Discovery using ...
 
Cc unit 2 updated
Cc unit 2 updatedCc unit 2 updated
Cc unit 2 updated
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
 
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...
A Novel Robust &Fault Tolerance Framework for Webservices using ws-I Specific...
 
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...
DLTSR_A_Deep_Learning_Framework_for_Recommendations_of_Long-Tail_Web_Services...
 

Mais de Alexander Decker

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Alexander Decker
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inAlexander Decker
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesAlexander Decker
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksAlexander Decker
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dAlexander Decker
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceAlexander Decker
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifhamAlexander Decker
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaAlexander Decker
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenAlexander Decker
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksAlexander Decker
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget forAlexander Decker
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabAlexander Decker
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...Alexander Decker
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalAlexander Decker
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesAlexander Decker
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbAlexander Decker
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloudAlexander Decker
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveragedAlexander Decker
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenyaAlexander Decker
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health ofAlexander Decker
 

Mais de Alexander Decker (20)

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale in
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
 

Último

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Último (20)

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

A comparative study of soap vs rest web services provisioning techniques for mobile host

  • 1. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5782 (print) ISSN 2225-0506 (online) Vol 2, No.5, 2012 A Comparative Study of SOAP Vs REST Web Services Provisioning Techniques for Mobile Host Kishor Wagh1* Dr. Ravindra Thool2 1. Marathwada Mitra Mandals Institute of Technology Pune, India 2. Shri Guru Gobind Singhji Institute Of Engineering & Technology, Nanded, India * E-mail of the corresponding author: waghks@gmail.com Abstract Web services are moving towards mobile wireless world as a new emerging technology for mobile applications communication. Now mobile devices can operate as web service providers due to the advancement in mobile device capabilities and it has also become possible due to improvement in web service development technologies and wireless communication techniques. Today’s most important need is to provide uninterrupted, lightweight, continuous web services to resource constrained mobile device in wireless environment. This paper presents a detailed comparison between two frameworks used for providing web services through SOAP and REST and also discusses the problems and challenges in these two frameworks. With the help of comparison we can decide which frame work is most suitable for wireless environment and fulfills the current needs of accessing lightweight mobile web services continuously from resource constrained mobile device. Keywords Mobile Web Services, SOAP, REST, RESTful 1. Introduction Today is an era of Internet. There are various methods for interaction between user and Internet which is web application through web services. Web services are based on the concept of service-oriented architecture (SOA). SOA is the evolution of distributed computing, which enables software components, which includes application functions, objects and process from different systems, to be exposed as a services. Service Oriented Architecture (SOA) (Matthew et al. 2005) is a widely applied standard, reference model for service oriented computing and most useful for realization of Web Services. According to the Gartner research (June 15, 2001), “Web services are loosely coupled software components delivered over Internet standard technologies.” In short, Web services are self-describing and modular business applications that expose the business logic as services over the Internet through programmable interface and where IP can be used finding way to subscribes and invoke those services. As per literature survey, mobile device can be used in four different ways for web services. These types are based on role of mobile device used as consumer, provider or broker. Based on role of mobile device, these types are 1. Mobile as a web service consumer. 2. Mobile to Mobile or Peer-to-Peer web services. 3. Mobile device as web service provider and 4. Mobile Device as web service broker in P2P web services. In first case Mobile as web service consumer – mobile acts as web service client and request web services from SOAP or REST framework. In second case Mobile to Mobile or P2P – mobile is a part of Ad hoc network and each node in ad hoc network act as client or server or both. In third case Mobile device as Web Service Provider – mobile act as web server and provides web services to any type of client. In fourth case Mobile as web service broker – mobile device act as a locating web services that are stored in other mobile in P2P network. To meet the demands of the cellular domain and to maximize the benefits of the fast developing web services domain and standards, the scope of the mobile device as web service providers is being observed. Also nowadays use of web services on mobile devices become increasingly relevant because of development in processing capabilities of the mobile devices. Also with advances in mobile communication technologies and wireless securities, now it has become possible to host Web Services (WS) on mobile devices. Web services have a broad range of service client, however mobile device have a large number of users which is always expanding. Therefore, it is possible to use mobile device as web service provider. The paradigm shift to mobile phones from the role of web service consumer 12
  • 2. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5782 (print) ISSN 2225-0506 (online) Vol 2, No.5, 2012 to the web service provider is a step towards practical realization of various computing paradigms such as pervasive computing, ubiquitous computing, ambient computing and context-aware computing. Mobile web services provisioning framework allows deploying, publishing, discovering and executing of web services in wireless environment using standard protocols. Mobile web service provisioning can be classified based on architecture as SOA (Service Oriented Architecture and ROA (Resource Oriented Architecture). SOA based web provisioning uses SOAP (Simple object access Protocol) based web service framework and ROA based web provisioning uses REST (REpresentational State Transfer) web service frame work. The paper is organized as follows: section 2 illustrates state of art for providing web services from mobile device and addresses main issues and challenges of provisioning of web services which also includes comparison of the two different mobile host frameworks (SOAP and REST). Section 3 explores main blocks that are used for building web services for mobile host. Section 4 summarizes the paper and discusses the future directions. 2. State of Art The SOA and ROA, both are architectural design patterns and the corresponding distributed programming paradigms. Both provide a conceptual methodology and development tools for creating distributed web services architectures. ROA and SOA were named as resources and services. The concept of provisioning web services from mobile device was first introduced in ( Guido Gehlen & Linh Pham 2005) by presenting a SOAP server works as middleware for a mobile web service provisioning. The feasibility of mobile web services is proved along with performance analysis of the mobile hosts in (Srirama et al. 2006). After that, this group started comprehensive research activity on same area. It uses SOAP as a messaging framework for web services realization of SOA. SOAP is not made for resource constrained mobile devices but it is for fixed network. The SOAP messages has heavy payload. In contrast, the REST messaging framework has lightweight payload which is suitable for mobile as well as cellular network. REST identifies the service resources by single URL only. Many Mobile web applications have been built over the last decade using SOAP-based web services. But SOAP based web services was made for traditional network or fixed network. These web services are heavy in nature and mobile is a resource constrained device. Most of implemented web services frameworks are based on SOAP in client server environment discussed in (Berger et al. 2003; Luqun 2008; Aijaz et al. 2008) and mobile web services was hosted in Peer to Peer network discussed in (Asif et al. 2008; Hassa 2009). According to (Guido & Linh 2005) had developed the mobile host for heterogeneous environment. The concept of REST based web services for mobile devices is introduced in (Fahad et al. 2009) and comparison with SOAP architecture of HTTP payload is discussed in (Fahad et al. 2009; Hatem et al. 2010). Both REST and SOAP frameworks are used for hosting web services on mobile. However, each has its own advantages and disadvantages. The comparison of two frameworks discussed in table 1. Table 1. Comparison of SOAP and REST based Web Services SOAP REST It is well known old traditional Technology. It is new technology as compared to SOAP Within the enterprise and in B2B scenarios, SOAP This is not to say that REST is not enterprise is still very attractive. ready. In fact, there are known successful RESTful implementations in mission critical applications such as banking. In SOAP, Client-Server interaction is Tightly In REST, Client-Server interaction is loosely coupled. coupled. In case of implementation, SOAP overtakes REST But REST developers would argue that it’s got as there are established development kits in case of interface flexibility. SOAP. 13
  • 3. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5782 (print) ISSN 2225-0506 (online) Vol 2, No.5, 2012 Changing services in SOAP web provisioning Changing services in REST web provisioning not often means a complicated code change on the requires any change in client side code. client side. SOAP has heavy payload as compared to REST. REST is definitely lightweight as it is meant for lightweight data transfer over a most commonly known interface, - the URI It requires binary attachment parsing. It supports all data types directly. SOAP is not a wireless infrastructure friendly. REST is a wireless infrastructure friendly. SOAP web services always return XML data. While REST web services provide flexibility in regards to the type of data returned. It consumes more bandwidth because a SOAP It consumes less bandwidth because it’s response response could require more than 10 times as is lightweight. many bytes as compared to REST. SOAP request uses POST and require a complex Restful APIs can be consumed using simple GET XML request to be created which makes requests, intermediate proxy servers / response-caching difficult. reverse-proxies can cache their response very easily. SOAP uses HTTP based APIs refer to APIs that are REST on the other hand adds an element of using exposed as one or more HTTP URIs and typical standrdized URIs, and also giving importance to responses are in XML / JSON. Response schemas the HTTP verb used (i.e. GET / POST / PUT etc) are custom per object Language, platform, and transport agnostic. Language and platform agnostic Designed to handle distributed computing Assumes a point-to-point communication environments. model—not for distributed computing environment where message may go through one or more intermediaries Harder to develop, requires tools. Much simpler to develop web services than SOAP False assumption: SOAP is more secure. SOAP REST assumes that the transport will be HTTP use WS-Security. WS-Security was created (or HTTPS) and the security mechanisms that are because the SOAP specification was built-in to the protocol will be available transport-independent and no assumptions could be made about the security available on the transport layer. Is the prevailing standard for web services, and Lack of standards support for security, policy, hence has better support from other standards reliable messaging, etc., so services that have (WSDL, WS) and tooling from vendors. more sophisticated requirements are harder to develop. 14
  • 4. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5782 (print) ISSN 2225-0506 (online) Vol 2, No.5, 2012 The most important web provisioning issues while deploying web services on mobile are web service discovery, device disambiguation and accessing large number of web services from mobile device will create bottleneck and single point of failure. The mobility of devices raises several issues as well, for example, when mobile device is moving from area to another at that time service discovery, networking, trust, and security are the major concerns which are different from those in the domain of large stationary servers. Finally, the constraints on computational power and battery life of mobile devices add another dimension to the challenge faced by this technology. Web Services on mobile devices should also attempt to keep messages as short as possible and clients should tolerate longer round trip times. 3. Framework Architecture Today’s Web Service Frameworks are developed for static servers. These frameworks are heavy in nature. However, these available frameworks are not suitable for resource constraint mobile device. Also these require continuous running environment and also consume large amount of resources and which also lead to heavy discharge of the battery power. So, hosting web services on mobile devices requires lightweight framework, which will allow ease of deployment and thereby providing efficient and continuously executing web services and which in turn will save the battery power. The SOAP and REST frameworks are used to deploy web services on mobile device. Both frameworks are identical in terms of architecture but they differ, in the context of handling and parsing the request. Both the frameworks have four main core components as shown in figure 1. The uses of these components are as follows: 1. Http Listener: With the help of this block of web service, client can send request or receive response to/from mobile host. 2. Request Handler: The main function of this block is to process incoming request from client and send back response to the client. This block works differently in each framework. In SOAP based framework request handler will remove the incoming HTTP POST request to extract the hidden SOAP envelope then it will dispatch to the parser (kSOAP) module, but in REST based framework request handler will extract the HTTP request directly and send it to the message parser. 3. Parser Module: It is responsible for invoking web services such as name of the service and other required parameters. This invoked information is sent to the web service servlet block. In SOAP based Framework parser desterilizes the SOAP object and maps the data type into service name and other parameters, but in REST, massage parser maps the data type into service name and other parameters. 4. Web Service Servlet: It most important module in mobile web provisioning. It deploys the new web services on mobile host and supports invoking of requested services. 5. Conclusion In this we have explored the frameworks used for provisioning web services on Mobile phone. This framework is suitable for SOAP as well as REST. From the comparison between SOAP based framework and REST based framework, we conclude that REST based framework is more suitable for handheld, resource constrained mobile device and wireless network also the level of resource consumption is less in REST as compared to SOAP. But SOAP framework is more secure as compared to REST. For reducing the payload size in SOAP we can use different compression techniques. Regarding the future work will design hybrid framework to support various interfaces for mobile hosted web services such as HTTP, Bluetooth, SMS etc on SOAP and REST. References Matthew MacKenzie C., Ken Laskey, Francis McCabe, Peter Brown, and Rebekah Metz(2005). “Reference Model for Service Oriented Architectures.Published on the internet”, December 2005. OASIS Working Draft. Guido Gehlen and Linh Pham.(2005), “Realization and Performance Analysis of a SOAP Server for Mobile Devices,” In Proceedings of the 11th European Wireless Confernce 2005, volume 2, pages 791–797, Nicosia, Cyprus, 15
  • 5. Journal of Information Engineering and Applications www.iiste.org ISSN 2224-5782 (print) ISSN 2225-0506 (online) Vol 2, No.5, 2012 Apr 2005. VDE Verlag. Srirama S.N., Jarke M., and Prinz W.(2006), “Mobile web service provisioning”, Proceedings of the Advanced International Conference on Telecommunications and International Conference on Internet and Web Applications and Services (AICT ICIW ’06), p. 120, 2006. Berger S., McFaddin S., Chandra N. and Mandayam R.(2003), "Web services on mobile devices-implementation and experience," in Mobile Computing Systems and Applications, 2003. Proceedings. Fifth IEEE Workshop on, 2003, pp. 100-109. Luqun L.(2008), "An Integrated Web Service Framework for Mobile Device Hosted Web Service and Its Performance Analysis," in High Performance Computing and Communications, 2008. HPCC '08. 10th IEEE International Conference on, 2008, pp. 659-664. Aijaz F., Adeli S. M. and Walke B.(2008), "Middleware for Communication and Deployment of Time Independent Mobile Web Services," in Web Services, 2008. ICWS '08. IEEE International Conference on, 2008, pp. 797-800. Asif M., Majumdar R. and Dragnea S.(2008), "Partitioning the WS Execution Environment for Hosting Mobile Web Services," in Services Computing, 2008. SCC '08. IEEE International Conference on, 2008, pp. 315-322. Hassan M.(2009), “Mobile Web Service Provisioning in Peer to Peer Environments” in Service Oriented Computing and Applications, 2009, IEEE International Conference 2009, PP 1-4. Guido Gehlen, Linh Pham(2005), “ Mobile Web Services for Peer-to-Peer Applications” in Consmer Communcations and Networking Conference, 2005, Second IEEE, 2005, pp. 427-433. Fahad Aijaz, Syed Zahid Ali, Muzzamil Aziz Chaudhary, Bernhard Walke(2009), “ Enabling High Performance Mobile Web Service Provisioning,” in Vehicular Technology Conference Fall (VTC 2009-Fall), 2009 IEEE 70th, 2009, pp.1-6. Fahad Aijaz, Syed Zahid Ali, Muzzamil Aziz Chaudhary, Bernhard Walke(2009), “Enabling Resource-oriented Mobile Web Server for Short-Lived Services” in Malaysia International Conference on Communications (MICC’09), 2009 IEEE, pp 392-396. Hatem Hamad, Motoz Saad, and Ramzi Abed(2010), “Performance Evaluation of RESTful Web Services for Mobile Devices,” in International Arab Journal of e-Technology, Vol. 1, No. 3, January 2010, pp. 72-76 Figure 1. The Main Components of Framework 16
  • 6. This academic article was published by The International Institute for Science, Technology and Education (IISTE). The IISTE is a pioneer in the Open Access Publishing service based in the U.S. and Europe. The aim of the institute is Accelerating Global Knowledge Sharing. More information about the publisher can be found in the IISTE’s homepage: http://www.iiste.org The IISTE is currently hosting more than 30 peer-reviewed academic journals and collaborating with academic institutions around the world. Prospective authors of IISTE journals can find the submission instruction on the following page: http://www.iiste.org/Journals/ The IISTE editorial team promises to the review and publish all the qualified submissions in a fast manner. All the journals articles are available online to the readers all over the world without financial, legal, or technical barriers other than those inseparable from gaining access to the internet itself. Printed version of the journals is also available upon request of readers and authors. IISTE Knowledge Sharing Partners EBSCO, Index Copernicus, Ulrich's Periodicals Directory, JournalTOCS, PKP Open Archives Harvester, Bielefeld Academic Search Engine, Elektronische Zeitschriftenbibliothek EZB, Open J-Gate, OCLC WorldCat, Universe Digtial Library , NewJour, Google Scholar