Thomas AYIH-AKAKPO wrote at 2012-11-20 17:43 +0300:
>I've started to use spyne 2.9.3 and stumbled upon this: when I use French
>characters in the docstring of a function, I get an "AssertionError" when I
>try to connect to the service[0]:
>
>>>> from suds.client import Client
>>>> c = Client('http://localhost:7789/?wsdl')
>
>
>ERROR:spyne.server.wsgi:All strings must be XML compatible: Unicode or
>ASCII, no NULL bytes or control characters
Try to use unicode docstrings, i.e.
def f(...):
u"""<docstring>"""
rather than
def f(...):
"""<docstring>"""
--
Dieter
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap