joshgachnang / diveintopython

A mirror of diveintopython.org.
157 stars 48 forks source link

Chapter 12.6 - WSDL example 12.8 returns error #107

Open kchodnicki opened 7 years ago

kchodnicki commented 7 years ago

I am getting TypeError on example 12.8:

Traceback (most recent call last): File "testSOAP.py", line 3, in server = WSDL.Proxy(wsdlFile) File "build\bdist.win32\egg\SOAPpy\WSDL.py", line 85, in init File "build\bdist.win32\egg\wstools\WSDLTools.py", line 54, in loadFromString TypeError: initial_value must be unicode or None, not str

I tried to use unicode() or "u" but it does not help