Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81725

Suds Python 2.4.3 Proxy

From Jerry Rocteur <jerry.rocteur@gmail.com>
Date 2014-11-29 16:01 +0100
Subject Suds Python 2.4.3 Proxy
Newsgroups comp.lang.python
Message-ID <mailman.16434.1417330951.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

I posted this on the soap list but didn`t get a reply so I was hoping
perhaps someone from this list could help me.

I got my SOAP script working to GlobalSign, thanks to the help from
Dieter and I can now download certificates with the script.

I was running on Python 2.7 and it works great there but now I have to
deploy the script on some Redhat workstations running python 2.4.3
(which I am not allowed to upgrade)

When I create my client in my script I do it like this:

url = 'https://system.globalsign.com/cr/ws/GasOrderService?wsdl'
proxy = {'https': proxylog + ":" + proxypass + '@proxyhost.int:9999'}
globalClient = Client(url, proxy=proxy)


This works GREAT on 2.7 but when I run it on 2.4 I get:

  File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open
    if '@' in host:
TypeError: iterable argument required

I'm Googling it and I can see there are other ways to connect but
can't seem to get the syntax.

Can anyone  help.


Thanks in advance,

-- 
Jerry Rocteur

Jerry@rocteur.com

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Suds Python 2.4.3 Proxy Jerry Rocteur <jerry.rocteur@gmail.com> - 2014-11-29 16:01 +0100

csiph-web