| |
- Proxy
class Proxy |
|
WSDL Proxy.
SOAPProxy wrapper that parses method names, namespaces, soap actions from
the web service description language (WSDL) file passed into the
constructor. The WSDL reference can be passed in as a stream, an url, a
file name, or a string.
Loads info into self.methods, a dictionary with methodname keys and values
of WSDLTools.SOAPCallinfo.
For example,
url = 'http://www.xmethods.org/sd/2001/TemperatureService.wsdl'
wsdl = WSDL.Proxy(url)
print len(wsdl.methods) # 1
print wsdl.methods.keys() # getTemp
See WSDLTools.SOAPCallinfo for more info on each method's attributes. |
|
Methods defined here:
- __getattr__(self, name)
- Set up environment then let parent class handle call.
Raises AttributeError is method name is not found.
- __init__(self, wsdlsource, config=<Config.SOAPConfig instance>, **kw)
- __str__(self)
- show_methods(self)
| |