[Fedora-suds-list] Proxy Problems

dunkel gruen dunkelgruen at googlemail.com
Tue Mar 9 20:47:12 UTC 2010


Hello,

in my las mail i ask for a look at the xml request. I find the logging and
could fix it. Thanks!
Now i have a litte nice python programm ready to use with a webservice. :)

Today i try to use it in a enviroment with a proxy. I read the examples and
try and try but i'm not sure that the code is right.
At least i get no connection...

Here is a short example that dosn't work...

#!/usr/bin/python
#-*- coding: utf-8 -*-
import suds
url = "http://www.thomas-bayer.com/axis2/services/BLZService?wsdl<https://mailgate.roc-berlin.de/exchweb/bin/redir.asp?URL=http://www.thomas-bayer.com/axis2/services/BLZService?wsdl>
"
d = dict(http='192.168.50.2:3129')
client = client.set_options(proxy=d)
print suds.client.Client(url)

Can you send me a correct example?

dunkelgruen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20100309/7331998d/attachment.html 


More information about the suds mailing list