source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/wsSecurity/client/Echo_services_types.py @ 3122

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/wsSecurity/client/Echo_services_types.py@3122
Revision 3122, 2.3 KB checked in by pjkersha, 12 years ago (diff)

security/python/ndg.security.test/ndg/security/test/wsSecurity/client: complete unit test

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