SOAPpy and http authentication

Oliver Andrich oliver.andrich at gmail.com
Tue Aug 2 07:54:36 EDT 2005


2 Aug 2005 11:38:51 GMT, Lutz Horn <lutz.horn at gmx.de>:
> 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.

Yes, you can actually call it that way, but then the wsdl retrieval is
done using the authentication, but all the service calls are done
without. This is something, that is also puzzling me. So far I can
perfectly live with SOAPProxy, but it would be nice to solve this
puzzle.

Best regards,
Oliver

-- 
Oliver Andrich <oliver.andrich at gmail.com> --- http://fitheach.de/



More information about the Python-list mailing list