0
|
1 ##################################################
|
|
2 # WSWUBlast_services_types.py
|
|
3 # generated by ZSI.generate.wsdl2python
|
|
4 ##################################################
|
|
5
|
|
6
|
|
7 import ZSI
|
|
8 import ZSI.TCcompound
|
|
9 from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
|
|
10
|
|
11 ##############################
|
|
12 # targetNamespace
|
|
13 # http://www.ebi.ac.uk/WSWUBlast
|
|
14 ##############################
|
|
15
|
|
16 class ns0:
|
|
17 targetNamespace = "http://www.ebi.ac.uk/WSWUBlast"
|
|
18
|
|
19 class inputParams_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
|
20 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
21 type = (schema, "inputParams")
|
|
22 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
|
23 ns = ns0.inputParams_Def.schema
|
|
24 TClist = [ZSI.TC.String(pname="program", aname="_program", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="database", aname="_database", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="matrix", aname="_matrix", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPfloat(pname="exp", aname="_exp", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.Boolean(pname="echofilter", aname="_echofilter", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="filter", aname="_filter", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="numal", aname="_numal", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="scores", aname="_scores", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="sensitivity", aname="_sensitivity", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="sort", aname="_sort", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="stats", aname="_stats", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="strand", aname="_strand", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="outformat", aname="_outformat", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="topcombon", aname="_topcombon", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="appxml", aname="_appxml", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.Boolean(pname="async", aname="_async", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="email", aname="_email", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
|
25 self.attribute_typecode_dict = attributes or {}
|
|
26 if extend: TClist += ofwhat
|
|
27 if restrict: TClist = ofwhat
|
|
28 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
|
29 class Holder:
|
|
30 typecode = self
|
|
31 def __init__(self):
|
|
32 # pyclass
|
|
33 self._program = None
|
|
34 self._database = None
|
|
35 self._matrix = None
|
|
36 self._exp = None
|
|
37 self._echofilter = None
|
|
38 self._filter = None
|
|
39 self._numal = None
|
|
40 self._scores = None
|
|
41 self._sensitivity = None
|
|
42 self._sort = None
|
|
43 self._stats = None
|
|
44 self._strand = None
|
|
45 self._outformat = None
|
|
46 self._topcombon = None
|
|
47 self._appxml = None
|
|
48 self._async = None
|
|
49 self._email = None
|
|
50 return
|
|
51 Holder.__name__ = "inputParams_Holder"
|
|
52 self.pyclass = Holder
|
|
53
|
|
54 class data_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
|
55 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
56 type = (schema, "data")
|
|
57 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
|
58 ns = ns0.data_Def.schema
|
|
59 TClist = [ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="content", aname="_content", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
|
60 self.attribute_typecode_dict = attributes or {}
|
|
61 if extend: TClist += ofwhat
|
|
62 if restrict: TClist = ofwhat
|
|
63 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
|
64 class Holder:
|
|
65 typecode = self
|
|
66 def __init__(self):
|
|
67 # pyclass
|
|
68 self._type = None
|
|
69 self._content = None
|
|
70 return
|
|
71 Holder.__name__ = "data_Holder"
|
|
72 self.pyclass = Holder
|
|
73
|
|
74 class ArrayOf_xsd_string_Def(ZSI.TC.Array, TypeDefinition):
|
|
75 #complexType/complexContent base="SOAP-ENC:Array"
|
|
76 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
77 type = (schema, "ArrayOf_xsd_string")
|
|
78 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
|
|
79 ofwhat = ZSI.TC.String(None, typed=False)
|
|
80 atype = (u'http://www.w3.org/2001/XMLSchema', u'string[]')
|
|
81 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
|
|
82
|
|
83 class WSArrayofFile_Def(ZSI.TC.Array, TypeDefinition):
|
|
84 #complexType/complexContent base="SOAP-ENC:Array"
|
|
85 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
86 type = (schema, "WSArrayofFile")
|
|
87 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
|
|
88 ofwhat = ns0.WSFile_Def(None, typed=False)
|
|
89 atype = (u'http://www.ebi.ac.uk/WSWUBlast', u'WSFile[]')
|
|
90 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
|
|
91
|
|
92 class WSArrayofData_Def(ZSI.TC.Array, TypeDefinition):
|
|
93 #complexType/complexContent base="SOAP-ENC:Array"
|
|
94 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
95 type = (schema, "WSArrayofData")
|
|
96 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
|
|
97 ofwhat = ns0.data_Def(None, typed=False)
|
|
98 atype = (u'http://www.ebi.ac.uk/WSWUBlast', u'data[]')
|
|
99 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
|
|
100
|
|
101 class WSFile_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
|
102 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
103 type = (schema, "WSFile")
|
|
104 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
|
105 ns = ns0.WSFile_Def.schema
|
|
106 TClist = [ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="ext", aname="_ext", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
|
107 self.attribute_typecode_dict = attributes or {}
|
|
108 if extend: TClist += ofwhat
|
|
109 if restrict: TClist = ofwhat
|
|
110 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
|
111 class Holder:
|
|
112 typecode = self
|
|
113 def __init__(self):
|
|
114 # pyclass
|
|
115 self._type = None
|
|
116 self._ext = None
|
|
117 return
|
|
118 Holder.__name__ = "WSFile_Holder"
|
|
119 self.pyclass = Holder
|
|
120
|
|
121 class outData_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
|
122 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
123 type = (schema, "outData")
|
|
124 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
|
125 ns = ns0.outData_Def.schema
|
|
126 TClist = [ZSI.TC.String(pname="print_name", aname="_print_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="name", aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="selected", aname="_selected", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="data_type", aname="_data_type", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="input_type", aname="_input_type", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="search_type", aname="_search_type", minOccurs=1, maxOccurs=1, nillable=True, typed=False, encoded=kw.get("encoded"))]
|
|
127 self.attribute_typecode_dict = attributes or {}
|
|
128 if extend: TClist += ofwhat
|
|
129 if restrict: TClist = ofwhat
|
|
130 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
|
131 class Holder:
|
|
132 typecode = self
|
|
133 def __init__(self):
|
|
134 # pyclass
|
|
135 self._print_name = None
|
|
136 self._name = None
|
|
137 self._selected = None
|
|
138 self._data_type = None
|
|
139 self._input_type = None
|
|
140 self._search_type = None
|
|
141 return
|
|
142 Holder.__name__ = "outData_Holder"
|
|
143 self.pyclass = Holder
|
|
144
|
|
145 class WSArrayofoutData_Def(ZSI.TC.Array, TypeDefinition):
|
|
146 #complexType/complexContent base="SOAP-ENC:Array"
|
|
147 schema = "http://www.ebi.ac.uk/WSWUBlast"
|
|
148 type = (schema, "WSArrayofoutData")
|
|
149 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
|
|
150 ofwhat = ns0.outData_Def(None, typed=False)
|
|
151 atype = (u'http://www.ebi.ac.uk/WSWUBlast', u'outData[]')
|
|
152 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
|
|
153
|
|
154 # end class ns0 (tns: http://www.ebi.ac.uk/WSWUBlast)
|