SOAP/WSDL Introspection

2006-08-01 Thread Ben Edwards (lists)
I have the below code to get info about SOAP services at a wsdl url. It gets the in parameters OK but does not seem to get out/return parameters. Any idea why? Ben from SOAPpy import WSDL import sys wsdlfile = http://www.xmethods.net/sd/2001/TemperatureService.wsdl; server =

Another problem with 'Dive Into Python'

2006-07-31 Thread Ben Edwards (lists)
Am going through Chapter 9 - HTTP Web Services in dive into Python. It uses the following: data = urllib.urlopen('http://diveintomark.org/xml/atom.xml').read() The page no longer exists, can anyone recommend an alternative page to use? Ben --

Possible error in 'dive into Python' book, help!

2006-07-28 Thread Ben Edwards (lists)
I have been going through Dive into Python which up to now has been excellent. I am now working through Chapter 9, XML Processing. I am 9 pages in (p182) in the 'Parsing XML section. The following code is supposed to return the whole XML document (I have put ti at the end of this email): from

Unicode question

2006-07-28 Thread Ben Edwards (lists)
I am using python 2.4 on Ubuntu dapper, I am working through Dive into Python. There are a couple of inconsictencies. Firstly sys.setdefaultencoding('iso−8859−1') does not work, I have to do sys.setdefaultencoding = 'iso−8859−1' secondly the following does not give a 'UnicodeError: ASCII

Re: Exercises for dive into python

2006-07-25 Thread Ben Edwards (lists)
On Mon, 2006-07-24 at 23:16 +0200, Tal Einat wrote: snip... I recently gave a Python crash-course in my company, and ran into the same problem. There are many good Python tutorials, manuals, references etc., most are

Exercises for dive into python

2006-07-24 Thread Ben Edwards (lists)
Have been working through Dive Into Python which is excellent. My only problem is that there are not exercises. I find exercises are a great way of helping stuff sink in and verifying my learning. Has anyone done such a thing? Ben -- http://mail.python.org/mailman/listinfo/python-list

Re: Exercises for dive into python

2006-07-24 Thread Ben Edwards (lists)
On Mon, 2006-07-24 at 16:39 +, Tal Einat wrote: Ben Edwards (lists lists at videonetwork.org writes: Have been working through Dive Into Python which is excellent. My only problem is that there are not exercises. I find exercises are a great way of helping stuff sink