Latest comments

In response to: Python

jiaxiaolei [Visitor]
hi, very nice to see the comment about python webservice.

I do not know whether all the code in the page have been tested.

when i try them in my computer,some error occurred. for instance, the page "",
listofusers = client.service.getUsers(idlist)
the listofusers is None;

besides, i have some other questions about suds:

import suds

def test_sms():
url = ""
client = suds.client.Client(url)
print 'client', client
a = ['jia','xiao']
output = client.service.sendMt(a)
print 'output', output

the url "" make a server, and provide a sendMt() method. the method inputparams: string[] , outparams: string.

using suds-client, i try to invoke the sendMt() method, failed, wish someone can give a hand. thanks.
# the url is a online server, all can read it.
PermalinkPermalink 11/28/11 @ 06:05

In response to: Web Services and ComplexTypes

Gary Poyner [Visitor] ·
Thank you, I've just been looking for information about this topic for a while and yours is the best I have found out so far. However, what about the conclusion? Are you sure about the supply?
PermalinkPermalink 09/27/11 @ 20:17

In response to: Web Services and ComplexTypes

anibal [Visitor]
Thanks Rodrigo!

Great news ;)

If you need any help just ask.
PermalinkPermalink 08/31/11 @ 20:13

In response to: Web Services and ComplexTypes

admin [Member]
Gracias Anibal...for look my humble project...:-)

Hello ... I'm writing some lines in the module complexType to the use of lists within the complex types like Ladon ... .... I hope to have concrete results this weekend ...

Thanks and greetings

PermalinkPermalink 08/31/11 @ 19:19

In response to: Web Services and ComplexTypes

anibal [Visitor] ·
Nice tips anh.

About complextypes, can you define a property as a list of instances of a complex type?

Like this:

class Product(complextypes.ComplexType):
# definition like the example

class Invoice(complextypes.ComplexType):
# ... some attrs
items = [Product]

I'm trying to define such things but it seems is not possible, it is possible with Ladon ( but Ladon sucks at wsdl validation with Java clients.
PermalinkPermalink 08/31/11 @ 18:40

In response to: Web Services and ComplexTypes

anh [Visitor]
Thank you for sharing your simple and clean SOAP lib. However docs are still spare.

About using suds client to test the Webservices, cache shoud be disabled while you're testing and changing the methods frequently. The generation of wsdl won't reflect the changesuntil you delete the cache at /tmp/suds-ABC-XZY:

Do this to disable caching:

client = suds.client.Client(url, cache=None)

also enable logs for debugging

import logging

PermalinkPermalink 08/29/11 @ 00:31

In response to: Web Services and ComplexTypes

Kerri Hormander [Visitor]
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a bit, but instead of that, this is wonderful blog. A fantastic read. I will definitely be back.
PermalinkPermalink 08/16/11 @ 01:57

In response to: Web Services and ComplexTypes

anibal [Visitor]
Interesting. I use Ladon the approach is very similar
PermalinkPermalink 08/15/11 @ 21:18

In response to: Python

Good post this will really help me.
PermalinkPermalink 06/12/11 @ 05:32