SOAPpy and http authentication

Lutz Horn lutz.horn at gmx.de
Tue Aug 2 07:38:51 EDT 2005


On 2005-08-02, Odd-R. <oddr at home.no.no> wrote:
> from SOAPpy import WSDL
> from SOAPpy import URLopener
> url= ' http://someserver/somewebservice
> url1 = URLopener.URLopener(username='user',passwd='pass')
> server=WSDL.Proxy(url1.open(url))

Is it possible to call WSDL.Proxy with a String? Then you could build
the URL als http://user:pass@someserver/somewebservice. This works
with SOAPpy.SOAPProxy.

Lutz



More information about the Python-list mailing list