Public Member Functions | |
| def | __init__ |
| def | __init__ |
A ServiceProxy provides a convenient way to call a remote web service that is described with WSDL. The proxy exposes methods that reflect the methods of the remote web service.
Definition at line 28 of file ServiceProxy.py.
| def __init__ | ( | self, | |
| wsdl, | |||
url = None, |
|||
service = None, |
|||
port = None, |
|||
cachedir = os.path.join(os.path.expanduser('~'), '.zsi_service_proxy_dir', |
|||
asdict = True, |
|||
lazy = False, |
|||
pyclass = False, |
|||
force = False, |
|||
| kw | |||
| ) |
Parameters:
wsdl -- URL of WSDL.
url -- override WSDL SOAP address location
service -- service name or index
port -- port name or index
cachedir -- where to store generated files
asdict -- use dicts, else use generated pyclass
lazy -- use lazy typecode evaluation
pyclass -- use pyclass_type metaclass adds properties, "new_", "set_,
"get_" methods for schema element and attribute declarations.
force -- regenerate all WSDL code, write over cache.
NOTE: all other **kw will be passed to the underlying
ZSI.client._Binding constructor.
Definition at line 33 of file ServiceProxy.py.
| def __init__ | ( | self, | |
| wsdl, | |||
url = None, |
|||
service = None, |
|||
port = None, |
|||
cachedir = os.path.join(os.path.expanduser('~'), '.zsi_service_proxy_dir', |
|||
asdict = True, |
|||
lazy = False, |
|||
pyclass = False, |
|||
force = False, |
|||
| kw | |||
| ) |
Parameters:
wsdl -- URL of WSDL.
url -- override WSDL SOAP address location
service -- service name or index
port -- port name or index
cachedir -- where to store generated files
asdict -- use dicts, else use generated pyclass
lazy -- use lazy typecode evaluation
pyclass -- use pyclass_type metaclass adds properties, "new_", "set_,
"get_" methods for schema element and attribute declarations.
force -- regenerate all WSDL code, write over cache.
NOTE: all other **kw will be passed to the underlying
ZSI.client._Binding constructor.
Definition at line 33 of file ServiceProxy.py.
1.7.2