The battle between Microsoft and Nokia for the enterprise client platform is generally discussed in terms of the operating system and associated user interface, Windows versus SymbianOS/Series 60. But much of the really significant activity, that will make a difference with the critical developer communities, is going on above this level, with Nokia gaining ground in some unfamiliar areas ‘ notably, in recent weeks, in web services.
Nokia has created the Nokia Web Services Architecture for its developers, which goes a significant step further than competing technologies to making the benefits of this technology a reality on mobile devices.
Web services enable mobile clients to be integrated with enterprise and operator applications and, potentially, with each other in a mesh-like pattern. Software systems interact directly with each other through the use of standardized messages based on the XML language and exchanged over standard protocols such as HTTP or SIP.
The mobile platform is a highly logical one for web services, fitting perfectly into this concept of accessing enterprise applications via a flexible personalised interface as and when they are needed. In particular, the dynamic access element of web services ‘ one of the chief attractions for many corporations looking for more efficient, targeted deployment of software ‘ suits mobile devices, where the user’s context changes rapidly, and with it the appropriate type of service he or she requires.
Mobile web services have been slow to mature. There have been limited moves to derive the same benefits that larger systems have gained from the technology but there have been many obstacles too. To date, the main deployment has been of SOAP interfaces to carrier hosted servers such as MMS messaging or location servers. Microsoft .Net Compact Framework and Java2 Mobile Edition both support web services, as do some mobile-oriented toolkits such as IBM WebSphere Device Developer or SunONE Studio.
But all the current approaches assume that the device interacts with one service at a time in synchronous fashion, using remote procedure calls. This gives little of the flexibility and scalability of the asynchronous mode that Nokia now supports with its integration of clients into a service oriented architecture. In this mode, the device can roam in and out of the ecosystem, discovering and consuming services at will, and can provide services in return, enabling peer-to-peer mesh service networks.
The new Nokia framework allow developers to write server and client applications using a set of APIs to support these technologies and the SOAP Simple Object Access Protocol. The mobile phone application can be either a consumer or a provider of services. As a WSP, the application can, for instance, provide the user’s location to selected services using location and personal profile services, and the user will then be provided with web content tailored to the location and personal preferences.
One of the obstacles to such a picture has been the need for a single sign-on scheme to track all devices and ensure each has permission to access the services. SOAP has been too simplistic for this task but Nokia is using a specification devised by the Liberty Alliance, which is led by Sun, though it has not ruled out supporting rival sign-on schemes as well in the future.
Other barriers remain to be completely overcome. One is the unreliability of the mobile networks.
Negotiation and discovery within a web services environment involve multiple network exchanges and so the process may be too slow to be efficient ‘ or acceptable to users. Bandwidth is too low
for transferring large documents to the device with anything slower than 3G, and many devices also lack the memory and processing power to deal with large documents, but most web service software is not currently built to recognize or take into account the type of device it is communicating with. Therefore it will send information that is unusable by the mobile.
As 3G handsets and networks become more common, this objection will fade of its own accord, and meanwhile, operators are already using web services for machine to machine integration ‘ sending services to set-top boxes, for instance ‘ where the speed of interaction is less critical because no human is involved.
As web services are poised to come into their own in the mobile world, both for enterprise and carrier applications, Nokia has made an important step to place itself in pole position against the previously most advanced platform in this respect, .Net CF.