source: TI12-security/trunk/python/Tests/Echo/EchoServer_services_types.py @ 1542

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/Echo/EchoServer_services_types.py@1546
Revision 1542, 2.3 KB checked in by pjkersha, 14 years ago (diff)

Added http proxy handling for ZSI - see Tests/Echo?/urllib2Client.py

Line 
1##################################################
2# EchoServer_services_types.py
3# generated by ZSI.generate.wsdl2python
4##################################################
5
6
7import ZSI
8import ZSI.TCcompound
9from ZSI.TC import ElementDeclaration,TypeDefinition
10from ZSI.TC import _get_type_definition as GTD, _get_global_element_declaration as GED
11
12##############################
13# targetNamespace
14# urn:ZSI:examples
15##############################
16
17class urn_ZSI_examples:
18    targetNamespace = "urn:ZSI:examples"
19
20    class Echo(ZSI.TCcompound.ComplexType, ElementDeclaration):
21        schema = "urn:ZSI:examples"
22        literal = "Echo"
23        def __init__(self, **kw):
24            ns = urn_ZSI_examples.Echo.schema
25            TClist = [ZSI.TC.String(pname=(ns,"EchoIn"), aname="EchoIn", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
26            kw["pname"] = ("urn:ZSI:examples","Echo")
27            kw["aname"] = "Echo"
28            self.attribute_typecode_dict = {}
29            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, inorder=0, **kw)
30            class Holder:
31                typecode = self
32                def __init__(self):
33                    # pyclass
34                    self.EchoIn = None
35                    return
36            Holder.__name__ = "Echo_Holder"
37            self.pyclass = Holder
38
39    class EchoResponse(ZSI.TCcompound.ComplexType, ElementDeclaration):
40        schema = "urn:ZSI:examples"
41        literal = "EchoResponse"
42        def __init__(self, **kw):
43            ns = urn_ZSI_examples.EchoResponse.schema
44            TClist = [ZSI.TC.String(pname=(ns,"EchoResult"), aname="EchoResult", minOccurs=0, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
45            kw["pname"] = ("urn:ZSI:examples","EchoResponse")
46            kw["aname"] = "EchoResponse"
47            self.attribute_typecode_dict = {}
48            ZSI.TCcompound.ComplexType.__init__(self, None, TClist, inorder=0, **kw)
49            class Holder:
50                typecode = self
51                def __init__(self):
52                    # pyclass
53                    self.EchoResult = None
54                    return
55            Holder.__name__ = "EchoResponse_Holder"
56            self.pyclass = Holder
57
58# end class urn_ZSI_examples (tns: urn:ZSI:examples)
Note: See TracBrowser for help on using the repository browser.