Le 13/04/2012 11:30, azurIt a écrit :
Hi,

use 'Unicode' type (don't forget to import it first):

@soap(Unicode, _returns=Unicode):
def sayhello(self,name):
      return "Hello %s" % name


azur




Hello, thanks for the advice.
Unfortunately when I try "from soaplib.core.model.primitive import Unicode",
I get an ImportError: cannot import name Unicode . Or am I importing from the 
wrong
library?

Thanks

--
Thomas

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to