By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,870 Members | 1,224 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,870 IT Pros & Developers. It's quick & easy.

SOAPpy and WSDL and basic authentication

P: n/a

Can anyone provide me with sample code that will allow me to use
SOAPpy with a WSDL file using HTTP basic authentication? The only
thing I've been able to find on the net is SOAPpy.URLopener. However,
I am unclear what the relationship is between SOAPpy.URLopener and

Is it as straightforward as this?
from SOAPpy import WSDL
url = 'http://user:pa**'
ssClient = WSDL.proxy(url)
ssClient.Test() # assuming Test is a SOAP-Action
Or do I need to use SOAPpy.URLopener like so? from SOAPpy import WSDL
from SOAPpy import URLopener
url = 'http://user:pa**'
url1 = URLopener.URLopener(username='user',passwd='pass')
ssClient = WSDL.proxy(
ssClient.Test() # assumption as above

Or do I need to do something completely different?

All help is much appreicated.

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.