Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> from suds.client import Client
- >>> cli = Client('http://localhost:8888/Calculator/soap/description')
- >>> a=cli.factory.create('Complex')
- >>> a.r = 1
- >>> a.i = 0
- >>> b = cli.factory.create('Complex')
- >>> b.r = 0
- >>> b.i = 1
- >>> cli.service.add_complex(a,b)
- (reply){
- i = 0.0
- r = 1.0
- }
- >>> cli.service.add_many([34,65,45,76,34,54])
- 308L
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement