[maemo-developers] SOAP Web Services

From: daniel wilms daniel.wilms at nokia.com
Date: Mon Apr 20 10:14:08 EEST 2009
Hi Tim,

I dont know how much experience you have with C or Python, but I have 
written a bit more complex GTK app in Python for the tablets and you get 
really fast there and it was fairly simple to use. The parsing is as 
well pretty easy, I could show you an example if needed. Python-XML 
comes directly with the python-runtime and you can get the essential 
parts out of the SOAP message really fast. ZSI is a python module for 
web service implementations. The client can be built automatically when 
u have a service-description in WSDL.

I would suggest to write the app in Python and create/parse the messages 
by . You can tell me how you've decided and when you need help I could 
put an example in the wiki.

Cheers Daniel

ext Tim Allen wrote:
> Hi Daniel,
>
> Thanks a lot for the reply.
>
> It will most probably just be written in C, but we'd consider Python if the
> advantages were really there.  Do you think Python is quick to learn and how
> do you think it compares for making a simple GTK app?
>
> It is going to be an application that could be used by truck drivers to
> declare the mass they have on board their vehicle.  This would be notified
> to the back end via a web service call.  In time they will also be able to
> declare their rest breaks, etc, using the app.
>
> Directly creating the SOAP envelope and parsing the reply doesn't sound like
> much fun - do you think it would take a lot of time to get right?
>
> What's ZSI?
>
> Cheers,
> Tim.
>
> -----Original Message-----
> From: maemo-developers-bounces at maemo.org
> [mailto:maemo-developers-bounces at maemo.org] On Behalf Of daniel wilms
> Sent: Monday, 20 April 2009 3:42 PM
> To: maemo-developers at maemo.org
> Subject: Re: SOAP Web Services
>
> hi,
>
> I don't know, how you've created your app, but you could do it with Python.
> There is a project, which does the parsing for you [1] and which helps u
> setting up the client with the help of the WSDL file. But it depends on what
> you want to do. If you only have one specific service, ZSI is a bit too much
> I guess. You could directly create the SOAP envelope and send it with
> urllib2 or httplib and then parse the response with python-xml.
>
> if this does not help, give a few more details about your app ;)
>
> [1] http://pywebsvcs.sourceforge.net/
>
>
> daniel
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>   


More information about the maemo-developers mailing list