view WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/clientGenerator/WSDbfetchDoclit/WSDBFetchDoclitServerService_services_types.py @ 0:049760c677de default tip

Galaxy WSExtensions added successfully
author uga-galaxy-group
date Tue, 05 Jul 2011 19:34:18 -0400
parents
children
line wrap: on
line source

################################################## 
# WSDBFetchDoclitServerService_services_types.py 
# generated by ZSI.generate.wsdl2python
##################################################


import ZSI
import ZSI.TCcompound
from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED

##############################
# targetNamespace
# http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit
##############################

class ns0:
    targetNamespace = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"

    class ExampleIdentifiersInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "ExampleIdentifiersInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.ExampleIdentifiersInfo_Def.schema
            TClist = [self.__class__.accessionList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.entryVersionList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.idList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.nameList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.sequenceVersionList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._accessionList = None
                    self._entryVersionList = None
                    self._idList = None
                    self._nameList = None
                    self._sequenceVersionList = None
                    return
            Holder.__name__ = "ExampleIdentifiersInfo_Holder"
            self.pyclass = Holder


        class accessionList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "accessionList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.ExampleIdentifiersInfo_Def.accessionList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"accession"), aname="_accession", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","accessionList")
                kw["aname"] = "_accessionList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._accession = []
                        return
                Holder.__name__ = "accessionList_Holder"
                self.pyclass = Holder





        class entryVersionList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "entryVersionList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.ExampleIdentifiersInfo_Def.entryVersionList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"entryVersion"), aname="_entryVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","entryVersionList")
                kw["aname"] = "_entryVersionList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._entryVersion = []
                        return
                Holder.__name__ = "entryVersionList_Holder"
                self.pyclass = Holder





        class idList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "idList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.ExampleIdentifiersInfo_Def.idList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"id"), aname="_id", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","idList")
                kw["aname"] = "_idList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._id = []
                        return
                Holder.__name__ = "idList_Holder"
                self.pyclass = Holder





        class nameList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "nameList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.ExampleIdentifiersInfo_Def.nameList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","nameList")
                kw["aname"] = "_nameList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._name = []
                        return
                Holder.__name__ = "nameList_Holder"
                self.pyclass = Holder





        class sequenceVersionList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "sequenceVersionList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.ExampleIdentifiersInfo_Def.sequenceVersionList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"sequenceVersion"), aname="_sequenceVersion", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","sequenceVersionList")
                kw["aname"] = "_sequenceVersionList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._sequenceVersion = []
                        return
                Holder.__name__ = "sequenceVersionList_Holder"
                self.pyclass = Holder




    class StyleInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "StyleInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StyleInfo_Def.schema
            TClist = [ZSI.TC.String(pname=(ns,"mimeType"), aname="_mimeType", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._mimeType = None
                    self._name = None
                    return
            Holder.__name__ = "StyleInfo_Holder"
            self.pyclass = Holder

    class StyleInfoList_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "StyleInfoList")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.StyleInfoList_Def.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","StyleInfo",lazy=False)(pname=(ns,"styleInfo"), aname="_styleInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._styleInfo = []
                    return
            Holder.__name__ = "StyleInfoList_Holder"
            self.pyclass = Holder

    class FormatInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "FormatInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FormatInfo_Def.schema
            TClist = [self.__class__.aliases_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.dataTerms_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","StyleInfoList",lazy=False)(pname=(ns,"styleInfoList"), aname="_styleInfoList", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), self.__class__.syntaxTerms_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._aliases = None
                    self._dataTerms = None
                    self._name = None
                    self._styleInfoList = None
                    self._syntaxTerms = None
                    return
            Holder.__name__ = "FormatInfo_Holder"
            self.pyclass = Holder


        class aliases_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "aliases"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.FormatInfo_Def.aliases_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"alias"), aname="_alias", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","aliases")
                kw["aname"] = "_aliases"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._alias = []
                        return
                Holder.__name__ = "aliases_Holder"
                self.pyclass = Holder





        class dataTerms_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "dataTerms"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.FormatInfo_Def.dataTerms_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"dataTerm"), aname="_dataTerm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","dataTerms")
                kw["aname"] = "_dataTerms"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._dataTerm = []
                        return
                Holder.__name__ = "dataTerms_Holder"
                self.pyclass = Holder





        class syntaxTerms_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "syntaxTerms"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.FormatInfo_Def.syntaxTerms_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"syntaxTerm"), aname="_syntaxTerm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","syntaxTerms")
                kw["aname"] = "_syntaxTerms"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._syntaxTerm = []
                        return
                Holder.__name__ = "syntaxTerms_Holder"
                self.pyclass = Holder




    class FormatInfoList_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "FormatInfoList")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.FormatInfoList_Def.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","FormatInfo",lazy=False)(pname=(ns,"formatInfo"), aname="_formatInfo", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._formatInfo = []
                    return
            Holder.__name__ = "FormatInfoList_Holder"
            self.pyclass = Holder

    class DatabaseInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "DatabaseInfo")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DatabaseInfo_Def.schema
            TClist = [self.__class__.aliasList_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), self.__class__.databaseTerms_Dec(minOccurs=1, maxOccurs=1, nillable=True, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"defaultFormat"), aname="_defaultFormat", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"description"), aname="_description", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"displayName"), aname="_displayName", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","ExampleIdentifiersInfo",lazy=False)(pname=(ns,"exampleIdentifiers"), aname="_exampleIdentifiers", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","FormatInfoList",lazy=False)(pname=(ns,"formatInfoList"), aname="_formatInfoList", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"href"), aname="_href", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"name"), aname="_name", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._aliasList = None
                    self._databaseTerms = None
                    self._defaultFormat = None
                    self._description = None
                    self._displayName = None
                    self._exampleIdentifiers = None
                    self._formatInfoList = None
                    self._href = None
                    self._name = None
                    return
            Holder.__name__ = "DatabaseInfo_Holder"
            self.pyclass = Holder


        class aliasList_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "aliasList"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.DatabaseInfo_Def.aliasList_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"alias"), aname="_alias", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","aliasList")
                kw["aname"] = "_aliasList"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._alias = []
                        return
                Holder.__name__ = "aliasList_Holder"
                self.pyclass = Holder





        class databaseTerms_Dec(ZSI.TCcompound.ComplexType, LocalElementDeclaration):
            literal = "databaseTerms"
            schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
            def __init__(self, **kw):
                ns = ns0.DatabaseInfo_Def.databaseTerms_Dec.schema
                TClist = [ZSI.TC.String(pname=(ns,"databaseTerm"), aname="_databaseTerm", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
                kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","databaseTerms")
                kw["aname"] = "_databaseTerms"
                self.attribute_typecode_dict = {}
                ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
                class Holder:
                    typecode = self
                    def __init__(self):
                        # pyclass
                        self._databaseTerm = []
                        return
                Holder.__name__ = "databaseTerms_Holder"
                self.pyclass = Holder




    class DbfException_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "DbfException")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.DbfException_Def.schema
            TClist = []
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "DbfException_Holder"
            self.pyclass = Holder

    class DbfParamsException_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "DbfParamsException")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DbfParamsException_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DbfException_Def not in ns0.DbfParamsException_Def.__bases__:
                bases = list(ns0.DbfParamsException_Def.__bases__)
                bases.insert(0, ns0.DbfException_Def)
                ns0.DbfParamsException_Def.__bases__ = tuple(bases)

            ns0.DbfException_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DbfConnException_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "DbfConnException")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DbfConnException_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DbfException_Def not in ns0.DbfConnException_Def.__bases__:
                bases = list(ns0.DbfConnException_Def.__bases__)
                bases.insert(0, ns0.DbfException_Def)
                ns0.DbfConnException_Def.__bases__ = tuple(bases)

            ns0.DbfException_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class DbfNoEntryFoundException_Def(TypeDefinition):
        #complexType/complexContent extension
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "DbfNoEntryFoundException")
        def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
            ns = ns0.DbfNoEntryFoundException_Def.schema
            TClist = []
            attributes = self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            if ns0.DbfException_Def not in ns0.DbfNoEntryFoundException_Def.__bases__:
                bases = list(ns0.DbfNoEntryFoundException_Def.__bases__)
                bases.insert(0, ns0.DbfException_Def)
                ns0.DbfNoEntryFoundException_Def.__bases__ = tuple(bases)

            ns0.DbfException_Def.__init__(self, pname, ofwhat=TClist, extend=True, attributes=attributes, **kw)

    class InputException_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        type = (schema, "InputException")
        def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
            ns = ns0.InputException_Def.schema
            TClist = []
            self.attribute_typecode_dict = attributes or {}
            if extend: TClist += ofwhat
            if restrict: TClist = ofwhat
            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "InputException_Holder"
            self.pyclass = Holder

    class getSupportedDBs_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedDBs"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedDBs_Dec.schema
            TClist = []
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedDBs")
            kw["aname"] = "_getSupportedDBs"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "getSupportedDBs_Holder"
            self.pyclass = Holder

    class getSupportedDBsResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedDBsResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedDBsResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"getSupportedDBsReturn"), aname="_getSupportedDBsReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedDBsResponse")
            kw["aname"] = "_getSupportedDBsResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getSupportedDBsReturn = []
                    return
            Holder.__name__ = "getSupportedDBsResponse_Holder"
            self.pyclass = Holder

    class getSupportedFormats_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedFormats"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedFormats_Dec.schema
            TClist = []
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedFormats")
            kw["aname"] = "_getSupportedFormats"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "getSupportedFormats_Holder"
            self.pyclass = Holder

    class getSupportedFormatsResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedFormatsResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedFormatsResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"getSupportedFormatsReturn"), aname="_getSupportedFormatsReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedFormatsResponse")
            kw["aname"] = "_getSupportedFormatsResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getSupportedFormatsReturn = []
                    return
            Holder.__name__ = "getSupportedFormatsResponse_Holder"
            self.pyclass = Holder

    class getSupportedStyles_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedStyles"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedStyles_Dec.schema
            TClist = []
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedStyles")
            kw["aname"] = "_getSupportedStyles"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "getSupportedStyles_Holder"
            self.pyclass = Holder

    class getSupportedStylesResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getSupportedStylesResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getSupportedStylesResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"getSupportedStylesReturn"), aname="_getSupportedStylesReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getSupportedStylesResponse")
            kw["aname"] = "_getSupportedStylesResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getSupportedStylesReturn = []
                    return
            Holder.__name__ = "getSupportedStylesResponse_Holder"
            self.pyclass = Holder

    class getDatabaseInfoList_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDatabaseInfoList"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDatabaseInfoList_Dec.schema
            TClist = []
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDatabaseInfoList")
            kw["aname"] = "_getDatabaseInfoList"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    return
            Holder.__name__ = "getDatabaseInfoList_Holder"
            self.pyclass = Holder

    class getDatabaseInfoListResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDatabaseInfoListResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDatabaseInfoListResponse_Dec.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","DatabaseInfo",lazy=False)(pname=(ns,"getDatabaseInfoListReturn"), aname="_getDatabaseInfoListReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDatabaseInfoListResponse")
            kw["aname"] = "_getDatabaseInfoListResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getDatabaseInfoListReturn = []
                    return
            Holder.__name__ = "getDatabaseInfoListResponse_Holder"
            self.pyclass = Holder

    class getDatabaseInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDatabaseInfo"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDatabaseInfo_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDatabaseInfo")
            kw["aname"] = "_getDatabaseInfo"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    return
            Holder.__name__ = "getDatabaseInfo_Holder"
            self.pyclass = Holder

    class getDatabaseInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDatabaseInfoResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDatabaseInfoResponse_Dec.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","DatabaseInfo",lazy=False)(pname=(ns,"getDatabaseInfoReturn"), aname="_getDatabaseInfoReturn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDatabaseInfoResponse")
            kw["aname"] = "_getDatabaseInfoResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getDatabaseInfoReturn = None
                    return
            Holder.__name__ = "getDatabaseInfoResponse_Holder"
            self.pyclass = Holder

    class fault_Dec(ElementDeclaration):
        literal = "fault"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fault")
            kw["aname"] = "_fault"
            if ns0.DbfParamsException_Def not in ns0.fault_Dec.__bases__:
                bases = list(ns0.fault_Dec.__bases__)
                bases.insert(0, ns0.DbfParamsException_Def)
                ns0.fault_Dec.__bases__ = tuple(bases)

            ns0.DbfParamsException_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fault_Dec_Holder"

    class getDbFormats_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDbFormats"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDbFormats_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDbFormats")
            kw["aname"] = "_getDbFormats"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    return
            Holder.__name__ = "getDbFormats_Holder"
            self.pyclass = Holder

    class getDbFormatsResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getDbFormatsResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getDbFormatsResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"getDbFormatsReturn"), aname="_getDbFormatsReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getDbFormatsResponse")
            kw["aname"] = "_getDbFormatsResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getDbFormatsReturn = []
                    return
            Holder.__name__ = "getDbFormatsResponse_Holder"
            self.pyclass = Holder

    class getFormatInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getFormatInfo"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getFormatInfo_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getFormatInfo")
            kw["aname"] = "_getFormatInfo"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    self._format = None
                    return
            Holder.__name__ = "getFormatInfo_Holder"
            self.pyclass = Holder

    class getFormatInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getFormatInfoResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getFormatInfoResponse_Dec.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","FormatInfo",lazy=False)(pname=(ns,"getFormatInfoReturn"), aname="_getFormatInfoReturn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getFormatInfoResponse")
            kw["aname"] = "_getFormatInfoResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getFormatInfoReturn = None
                    return
            Holder.__name__ = "getFormatInfoResponse_Holder"
            self.pyclass = Holder

    class getFormatStyles_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getFormatStyles"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getFormatStyles_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getFormatStyles")
            kw["aname"] = "_getFormatStyles"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    self._format = None
                    return
            Holder.__name__ = "getFormatStyles_Holder"
            self.pyclass = Holder

    class getFormatStylesResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getFormatStylesResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getFormatStylesResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"getFormatStylesReturn"), aname="_getFormatStylesReturn", minOccurs=1, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getFormatStylesResponse")
            kw["aname"] = "_getFormatStylesResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getFormatStylesReturn = []
                    return
            Holder.__name__ = "getFormatStylesResponse_Holder"
            self.pyclass = Holder

    class getStyleInfo_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getStyleInfo"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getStyleInfo_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"style"), aname="_style", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getStyleInfo")
            kw["aname"] = "_getStyleInfo"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    self._format = None
                    self._style = None
                    return
            Holder.__name__ = "getStyleInfo_Holder"
            self.pyclass = Holder

    class getStyleInfoResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "getStyleInfoResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.getStyleInfoResponse_Dec.schema
            TClist = [GTD("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","StyleInfo",lazy=False)(pname=(ns,"getStyleInfoReturn"), aname="_getStyleInfoReturn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","getStyleInfoResponse")
            kw["aname"] = "_getStyleInfoResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._getStyleInfoReturn = None
                    return
            Holder.__name__ = "getStyleInfoResponse_Holder"
            self.pyclass = Holder

    class fetchData_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "fetchData"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.fetchData_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"query"), aname="_query", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"style"), aname="_style", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fetchData")
            kw["aname"] = "_fetchData"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._query = None
                    self._format = None
                    self._style = None
                    return
            Holder.__name__ = "fetchData_Holder"
            self.pyclass = Holder

    class fetchDataResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "fetchDataResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.fetchDataResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"fetchDataReturn"), aname="_fetchDataReturn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fetchDataResponse")
            kw["aname"] = "_fetchDataResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._fetchDataReturn = None
                    return
            Holder.__name__ = "fetchDataResponse_Holder"
            self.pyclass = Holder

    class fault1_Dec(ElementDeclaration):
        literal = "fault1"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fault1")
            kw["aname"] = "_fault1"
            if ns0.DbfConnException_Def not in ns0.fault1_Dec.__bases__:
                bases = list(ns0.fault1_Dec.__bases__)
                bases.insert(0, ns0.DbfConnException_Def)
                ns0.fault1_Dec.__bases__ = tuple(bases)

            ns0.DbfConnException_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fault1_Dec_Holder"

    class fault2_Dec(ElementDeclaration):
        literal = "fault2"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fault2")
            kw["aname"] = "_fault2"
            if ns0.DbfNoEntryFoundException_Def not in ns0.fault2_Dec.__bases__:
                bases = list(ns0.fault2_Dec.__bases__)
                bases.insert(0, ns0.DbfNoEntryFoundException_Def)
                ns0.fault2_Dec.__bases__ = tuple(bases)

            ns0.DbfNoEntryFoundException_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fault2_Dec_Holder"

    class fault3_Dec(ElementDeclaration):
        literal = "fault3"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fault3")
            kw["aname"] = "_fault3"
            if ns0.DbfException_Def not in ns0.fault3_Dec.__bases__:
                bases = list(ns0.fault3_Dec.__bases__)
                bases.insert(0, ns0.DbfException_Def)
                ns0.fault3_Dec.__bases__ = tuple(bases)

            ns0.DbfException_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fault3_Dec_Holder"

    class fault4_Dec(ElementDeclaration):
        literal = "fault4"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fault4")
            kw["aname"] = "_fault4"
            if ns0.InputException_Def not in ns0.fault4_Dec.__bases__:
                bases = list(ns0.fault4_Dec.__bases__)
                bases.insert(0, ns0.InputException_Def)
                ns0.fault4_Dec.__bases__ = tuple(bases)

            ns0.InputException_Def.__init__(self, **kw)
            if self.pyclass is not None: self.pyclass.__name__ = "fault4_Dec_Holder"

    class fetchBatch_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "fetchBatch"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.fetchBatch_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"db"), aname="_db", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"ids"), aname="_ids", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"format"), aname="_format", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"style"), aname="_style", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fetchBatch")
            kw["aname"] = "_fetchBatch"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._db = None
                    self._ids = None
                    self._format = None
                    self._style = None
                    return
            Holder.__name__ = "fetchBatch_Holder"
            self.pyclass = Holder

    class fetchBatchResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
        literal = "fetchBatchResponse"
        schema = "http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit"
        def __init__(self, **kw):
            ns = ns0.fetchBatchResponse_Dec.schema
            TClist = [ZSI.TC.String(pname=(ns,"fetchBatchReturn"), aname="_fetchBatchReturn", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
            kw["pname"] = ("http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit","fetchBatchResponse")
            kw["aname"] = "_fetchBatchResponse"
            self.attribute_typecode_dict = {}
            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
            class Holder:
                typecode = self
                def __init__(self):
                    # pyclass
                    self._fetchBatchReturn = None
                    return
            Holder.__name__ = "fetchBatchResponse_Holder"
            self.pyclass = Holder

# end class ns0 (tns: http://www.ebi.ac.uk/ws/services/WSDbfetchDoclit)