def __init__(self, **kw): Struct.__init__(self, ActorFaultDetail, [ String(pname=(ZSI_SCHEMA_URI, 'URI')), ], pname=(ZSI_SCHEMA_URI, 'ActorFaultDetail'), **kw)
def __init__(self, **kw): Struct.__init__(self, URIFaultDetail, [ String(pname=(ZSI_SCHEMA_URI, 'URI')), String(pname=(ZSI_SCHEMA_URI, 'localname')), ], pname=(ZSI_SCHEMA_URI, 'URIFaultDetail'), **kw)
def __init__(self, **kw): Struct.__init__( self, ZSIFaultDetail, [ String(pname=(ZSI_SCHEMA_URI, 'string')), String(pname=(ZSI_SCHEMA_URI, 'trace'), minOccurs=0), ], pname=(ZSI_SCHEMA_URI, 'FaultDetail'), **kw)
class _AuthHeader: """<BasicAuth xmlns="ZSI_SCHEMA_URI"> <Name>%s</Name><Password>%s</Password> </BasicAuth> """ def __init__(self, name=None, password=None): self.Name = name self.Password = password _AuthHeader.typecode = Struct(_AuthHeader, ofwhat=(String((ZSI_SCHEMA_URI, 'Name'), typed=False), String((ZSI_SCHEMA_URI, 'Password'), typed=False)), pname=(ZSI_SCHEMA_URI, 'BasicAuth'), typed=False) class _Caller: '''Internal class used to give the user a callable object that calls back to the Binding object to make an RPC call. ''' def __init__(self, binding, name, namespace=None): self.binding = binding self.name = name self.namespace = namespace def __call__(self, *args):
def __init__(self, **kw): Struct.__init__(self, URIFaultDetail, [String(pname=(ZSI_SCHEMA_URI, 'URI')), String(pname=(ZSI_SCHEMA_URI, 'localname')),], pname=(ZSI_SCHEMA_URI, 'URIFaultDetail'), **kw )
def __init__(self, **kw): Struct.__init__(self, ZSIFaultDetail, [String(pname=(ZSI_SCHEMA_URI, 'string')), String(pname=(ZSI_SCHEMA_URI, 'trace'),minOccurs=0),], pname=(ZSI_SCHEMA_URI, 'FaultDetail'), **kw )
def __init__(self, **kw): Struct.__init__(self, ActorFaultDetail, [String(pname=(ZSI_SCHEMA_URI, 'URI')),], pname=(ZSI_SCHEMA_URI, 'ActorFaultDetail'), **kw )
from pysphere.ZSI import _get_idstr, _seqtypes, SoapWriter, ZSIException from pysphere.ZSI.TCcompound import Struct from pysphere.ZSI.TC import QName, URI, String, AnyElement, UNBOUNDED from pysphere.ZSI.wstools.Namespaces import SOAP, ZSI_SCHEMA_URI from pysphere.ZSI.TC import ElementDeclaration import traceback class Detail: def __init__(self, _any=None): self.any = _any Detail.typecode = Struct(Detail, [AnyElement(aname='any',minOccurs=0, maxOccurs="unbounded",processContents="lax")], pname='detail', minOccurs=0) class FaultType: def __init__(self, faultcode=None, faultstring=None, faultactor=None, detail=None): self.faultcode = faultcode self.faultstring= faultstring self.faultactor = faultactor self.detail = detail FaultType.typecode = \ Struct(FaultType, [QName(pname='faultcode'), String(pname='faultstring'), URI(pname=(SOAP.ENV,'faultactor'), minOccurs=0), Detail.typecode, AnyElement(aname='any',minOccurs=0, maxOccurs=UNBOUNDED, processContents="lax"),