ServiceProxy
index
/home/groups/p/py/pywebsvcs/src/ZSI/ServiceProxy.py

# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.

 
Modules
       
ZSI.TC
ZSI.generate.commands
ZSI.generate.containers
os
re
sys
weakref
wstools

 
Classes
       
MethodProxy
ServiceProxy

 
class MethodProxy
     Methods defined here:
__call__(self, *args, **kwargs)
__init__(self, parent, callinfo)
add_headers(self, **headers)
packing dicts into typecode pyclass, may fail if typecodes are
used in the body (when asdict=True)

 
class ServiceProxy
    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.
 
  Methods defined here:
__init__(self, wsdl, url=None, service=None, port=None, cachedir='/home/users/r/rs/rsalz/.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.