Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Web Services APIs on Symbian

From Wiki
Jump to: navigation, search
Article Metadata
Series 40
Created: firt (14 Apr 2007)
Last edited: hamishwillee (25 Jul 2013)

There are several web services APIs present on the S60 platform.

Serene (The Nokia Web Services Framework for S60)

In S60 3rd Edition and later SDKs, in addition to the Series 80 SDK (Nokia 9300 and 9500 Communicators), a full framework for web services is provided, allowing simplified access to SOAP services. Support is provided for access to WS-I Basic Profile compliant services, in addition to the Liberty Alliance Identity Web Services Framework services.

The basic API for accessing a web service is very simple:

iConnection = CSenServiceConnection::NewL(*this, *pattern) ; response = iConnection->SubmitL(*message) ;

Things are a little more complicated than that, so more information about the Nokia Web Services Framework can be found at

In addition to the basic APIs, some utility classes for parsing XML and SOAP messages are provided, and their implementation is optimized for a mobile environment (i.e., to save memory)

In post-3rd Edition SDKs, the S60Ex\AddressBook directory holds an example of using this API to access an address book web service that is running within Nokia Developer.

In addition to the regular Symbian C++ API, there is a Python binding to the same APIs, which is described a little in the following blog post:

Finally, there is a plug-in tool that allows a developer to take a WSDL file, and compile this into Symbian C++ stub code for the client of the web service described in the WSDL.

Java (J2ME) JSR 172

See Web Services Specification (JSR-172)

Other Alternatives

You can use kXML, a small XML pull parser, specially designed for constrained environments as MIDP. With this classes you can parse XML on Java ME applications without having Web Services API installed. But you have to manually parse the SOAP protocol.

This page was last modified on 25 July 2013, at 06:22.
71 page views in the last 30 days.