For those that are interested in serving Web services from the mobile device I have created a simple framework for publishing Web services.
The framework makes it easy to publish every PyS60 class as a Web service supporting both a SOAP and a JSON interface. The SOAP interface is very efficient when requests are made from a programing environment like Java, PHP, Python that has good support for Web services. Then WSDL descriptions published by the device can be used to create code stubs to interact with the services. On the other hand the JSON interface is very efficient when requests need to be made from Web system front ends (XHTML/CSS/JavaScript). The Web server on the mobile device then serves a JavaScript client stub that can be used to interact with the published services.
The SOAP interface is based on SOAPpy that I have ported to S60 and extended to serve requests through mod_python.
Including in the framework is a management interface that can be used to control the installed services, create users and grant them access to services.
Everything is based on top of the Nokia Mobile Web server. I have also created services that provide access to the device Calendar, Logs, MediaFiles and other functionality.
Since this was a school project I have also written a report on the design and usage of the framework (only SOAP interface though)
All information and downloads are available from http://www.mobile-ws.com
If anyone is interested and any further information needed just let me know.
Best regards,
Magnus





