Ignore:
Timestamp:
09/03/10 17:10:36 (11 years ago)
Author:
sdonegan
Message:

Add updated discovery service handling of changed API xsd to allow for client IP handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/src/clients/ws/discovery/generated/DiscoveryService_services_types.py

    r5006 r6712  
    88import ZSI.TCcompound 
    99from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED 
    10 from ZSI.generate.pyclass import pyclass_type 
    1110 
    1211############################## 
     
    2928            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    3029            class Holder: 
    31                 __metaclass__ = pyclass_type 
    3230                typecode = self 
    3331                def __init__(self): 
     
    4442        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 
    4543            ns = ns0.SearchType_Def.schema 
    46             TClist = [ZSI.TC.String(pname=(ns,"term"), aname="_term", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"termType"), aname="_termType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.IpositiveInteger(pname=(ns,"start"), aname="_start", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.IpositiveInteger(pname=(ns,"howMany"), aname="_howMany", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"orderBy"), aname="_orderBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","orderByDirectionType",lazy=False)(pname=(ns,"orderByDirection"), aname="_orderByDirection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"spatialOperator"), aname="_spatialOperator", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","BoundingBoxType",lazy=False)(pname=(ns,"BoundingBox"), aname="_BoundingBox", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"temporalOperator"), aname="_temporalOperator", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","DateRangeType",lazy=False)(pname=(ns,"DateRange"), aname="_DateRange", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 
    47             self.attribute_typecode_dict = attributes or {} 
    48             if extend: TClist += ofwhat 
    49             if restrict: TClist = ofwhat 
    50             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    51             class Holder: 
    52                 __metaclass__ = pyclass_type 
     44            TClist = [ZSI.TC.String(pname=(ns,"term"), aname="_term", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"termType"), aname="_termType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.IpositiveInteger(pname=(ns,"start"), aname="_start", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.IpositiveInteger(pname=(ns,"howMany"), aname="_howMany", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"orderBy"), aname="_orderBy", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","orderByDirectionType",lazy=False)(pname=(ns,"orderByDirection"), aname="_orderByDirection", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"scope"), aname="_scope", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"spatialOperator"), aname="_spatialOperator", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","BoundingBoxType",lazy=False)(pname=(ns,"BoundingBox"), aname="_BoundingBox", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"temporalOperator"), aname="_temporalOperator", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("urn:DiscoveryServiceAPI","DateRangeType",lazy=False)(pname=(ns,"DateRange"), aname="_DateRange", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"client"), aname="_client", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] 
     45            self.attribute_typecode_dict = attributes or {} 
     46            if extend: TClist += ofwhat 
     47            if restrict: TClist = ofwhat 
     48            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
     49            class Holder: 
    5350                typecode = self 
    5451                def __init__(self): 
     
    6562                    self._temporalOperator = None 
    6663                    self._DateRange = None 
     64                    self._client = None 
    6765                    return 
    6866            Holder.__name__ = "SearchType_Holder" 
     
    8078            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    8179            class Holder: 
    82                 __metaclass__ = pyclass_type 
    8380                typecode = self 
    8481                def __init__(self): 
     
    10097            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    10198            class Holder: 
    102                 __metaclass__ = pyclass_type 
    10399                typecode = self 
    104100                def __init__(self): 
     
    122118            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    123119            class Holder: 
    124                 __metaclass__ = pyclass_type 
    125120                typecode = self 
    126121                def __init__(self): 
     
    140135        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): 
    141136            ns = ns0.getListNamesReturnType_Def.schema 
    142             TClist = [self.__class__.listNames_Dec(minOccurs=1, maxOccurs=1, nillable=False, encoded=kw.get("encoded"))] 
    143             self.attribute_typecode_dict = attributes or {} 
    144             if extend: TClist += ofwhat 
    145             if restrict: TClist = ofwhat 
    146             ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    147             class Holder: 
    148                 __metaclass__ = pyclass_type 
    149                 typecode = self 
    150                 def __init__(self): 
    151                     # pyclass 
    152                     self._listNames = None 
     137            TClist = [self.__class__.listNames_Dec(minOccurs=1, maxOccurs="unbounded", nillable=False, encoded=kw.get("encoded"))] 
     138            self.attribute_typecode_dict = attributes or {} 
     139            if extend: TClist += ofwhat 
     140            if restrict: TClist = ofwhat 
     141            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
     142            class Holder: 
     143                typecode = self 
     144                def __init__(self): 
     145                    # pyclass 
     146                    self._listNames = [] 
    153147                    return 
    154148            Holder.__name__ = "getListNamesReturnType_Holder" 
     
    167161                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw) 
    168162                class Holder: 
    169                     __metaclass__ = pyclass_type 
    170163                    typecode = self 
    171164                    def __init__(self): 
     
    190183            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    191184            class Holder: 
    192                 __metaclass__ = pyclass_type 
    193185                typecode = self 
    194186                def __init__(self): 
     
    213205                self.attribute_typecode_dict["name"] = ZSI.TC.String() 
    214206                class Holder: 
    215                     __metaclass__ = pyclass_type 
    216207                    typecode = self 
    217208                    def __init__(self): 
     
    236227            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    237228            class Holder: 
    238                 __metaclass__ = pyclass_type 
    239229                typecode = self 
    240230                def __init__(self): 
     
    259249            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    260250            class Holder: 
    261                 __metaclass__ = pyclass_type 
    262251                typecode = self 
    263252                def __init__(self): 
     
    280269            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) 
    281270            class Holder: 
    282                 __metaclass__ = pyclass_type 
    283271                typecode = self 
    284272                def __init__(self): 
Note: See TracChangeset for help on using the changeset viewer.