R
Roy Smith
I just got SOAPpy 0.11.6 running under Python 2.3.5. I can do some
simple stuff like:
from SOAPpy import WSDL
wsdlFile = 'http://myserver/soap/XPlanner?wsdl'
server = WSDL.Proxy(wsdlFile)
print server.methods.keys()
The problem is, this (not surprisingly) prompts for a username and
password on the console. When I type them in, it works fine, but I'd
like to supply them instead of getting prompted interactively.
The SOAPpy distribution has a URLopener class which looks like it does
what I want, but I can't figure out how to tell WSDL.Proxy to use that
class instead of the default. What's the secret?
simple stuff like:
from SOAPpy import WSDL
wsdlFile = 'http://myserver/soap/XPlanner?wsdl'
server = WSDL.Proxy(wsdlFile)
print server.methods.keys()
The problem is, this (not surprisingly) prompts for a username and
password on the console. When I type them in, it works fine, but I'd
like to supply them instead of getting prompted interactively.
The SOAPpy distribution has a URLopener class which looks like it does
what I want, but I can't figure out how to tell WSDL.Proxy to use that
class instead of the default. What's the secret?