source: TI12-security/trunk/python/www/html/sessionMgr.wsdl @ 1783

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/www/html/sessionMgr.wsdl@1783
Revision 1783, 8.0 KB checked in by pjkersha, 15 years ago (diff)

All Session Manager Client unit tests working with Session Manager service stub over https:

server/SessionMgr/server-config.tac
server/SessionMgr/SessionMgr_services_server.py
common/SessionMgr/SessionMgr_services.py
common/SessionMgr/SessionMgr_services_types.py
common/SessionMgr/init.py - added disconnect method to SessionMgrClient? class.

common/XMLSecDoc.py: comment out xmlsec for the moment. This module will need to be refactored
to use new digital signature code as used in WS-Security code tests.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="SessionMgr"
3 xmlns="http://schemas.xmlsoap.org/wsdl/"
4 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
7 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
8 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9 xmlns:tns="urn:ndg:security"
10 xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"
11 targetNamespace="urn:ndg:security">
12
13  <wsdl:types>
14    <xsd:schema>
15      <xsd:element name="addUser">
16        <xsd:complexType>
17          <xsd:sequence>
18            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/>
19            <xsd:element name="passPhrase" type="xsd:string" minOccurs="1" maxOccurs="1"/>
20          </xsd:sequence>
21        </xsd:complexType>
22      </xsd:element>
23     
24      <xsd:element name="addUserResponse">
25        <xsd:complexType/>
26      </xsd:element>
27
28      <xsd:element name="connect">
29        <xsd:complexType>
30          <xsd:sequence>
31            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/>
32            <xsd:element name="passPhrase" type="xsd:string" minOccurs="1" maxOccurs="1"/>
33                    <xsd:element name="createServerSess" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
34                    <xsd:element name="getCookie" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
35          </xsd:sequence>
36        </xsd:complexType>
37      </xsd:element>
38     
39      <xsd:element name="connectResponse">
40        <xsd:complexType>
41                  <xsd:sequence>
42                    <xsd:element name="cookie" type="xsd:string" minOccurs="0" maxOccurs="1"/>
43                    <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
44                  </xsd:sequence>
45                </xsd:complexType>
46      </xsd:element>
47
48      <xsd:element name="disconnect">
49        <xsd:complexType>
50                  <xsd:sequence>
51                    <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
52                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
53                    <xsd:element name="encrSessionMgrURI" type="xsd:string" minOccurs="0" maxOccurs="1"/>
54                  </xsd:sequence>
55                </xsd:complexType>
56      </xsd:element>
57
58      <xsd:element name="disconnectResponse">
59        <xsd:complexType/>
60      </xsd:element>
61     
62      <xsd:simpleType name="attCertList">
63        <xsd:list itemType="tns:attCert"/>
64      </xsd:simpleType>
65
66      <xsd:simpleType name="trustedHostList">
67                <xsd:list itemType="tns:trustedHost"/>
68      </xsd:simpleType>
69     
70      <xsd:element name="reqAuthorisation">
71        <xsd:complexType>
72                  <xsd:sequence>
73                    <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
74                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
75                    <xsd:element name="encrSessionMgrURI" type="xsd:string" minOccurs="0" maxOccurs="1"/>
76                    <xsd:element name="attAuthorityURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
77                    <xsd:element name="attAuthorityCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
78                    <xsd:element name="reqRole" type="xsd:string" minOccurs="0" maxOccurs="1"/>
79                    <xsd:element name="mapFromTrustedHosts" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
80                    <xsd:element name="rtnExtAttCertList" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
81                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
82                        <xsd:element name="extTrustedHost" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
83                  </xsd:sequence>
84                </xsd:complexType>
85      </xsd:element>
86     
87      <xsd:element name="reqAuthorisationResponse">
88        <xsd:complexType>
89              <xsd:sequence>
90                <xsd:element name="attCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
91                <xsd:element name="statusCode" type="xsd:string" minOccurs="1" maxOccurs="1"/>
92                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
93              </xsd:sequence>
94            </xsd:complexType>
95      </xsd:element>
96
97      <xsd:element name="getX509Cert">
98        <xsd:complexType/>
99      </xsd:element>
100     
101      <xsd:element name="getX509CertResponse">
102        <xsd:complexType>
103                  <xsd:sequence>
104                    <xsd:element name="x509Cert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
105                  </xsd:sequence>
106                </xsd:complexType>
107      </xsd:element>
108
109    </xsd:schema>
110  </wsdl:types>
111 
112  <message name="addUserInputMsg">
113    <part name="parameters" element="tns:addUser"/>
114  </message>
115
116  <message name="addUserOutputMsg">
117    <part name="parameters" element="tns:addUserResponse"/>
118  </message>
119 
120  <message name="connectInputMsg">
121    <part name="parameters" element="tns:connect"/>
122  </message>
123
124  <message name="connectOutputMsg">
125    <part name="parameters" element="tns:connectResponse"/>
126  </message>
127 
128  <message name="disconnectInputMsg">
129    <part name="parameters" element="tns:disconnect"/>
130  </message>
131
132  <message name="disconnectOutputMsg">
133    <part name="parameters" element="tns:disconnectResponse"/>
134  </message>
135
136  <message name="reqAuthorisationInputMsg">
137    <part name="parameters" element="tns:reqAuthorisation"/>
138  </message>
139
140  <message name="reqAuthorisationOutputMsg">
141    <part name="parameters" element="tns:reqAuthorisationResponse"/>
142  </message>
143
144  <message name="getX509CertInputMsg">
145    <part name="parameters" element="tns:getX509Cert"/>
146  </message>
147
148  <message name="getX509CertOutputMsg">
149    <part name="parameters" element="tns:getX509CertResponse"/>
150  </message>
151
152  <wsdl:portType name="SessionMgr">
153    <wsdl:operation name="addUser">
154      <wsdl:input message="tns:addUserInputMsg"/>
155      <wsdl:output message="tns:addUserOutputMsg"/>
156    </wsdl:operation>
157
158    <operation name="connect">
159      <wsdl:input message="tns:connectInputMsg"/>
160      <wsdl:output message="tns:connectOutputMsg"/>
161    </operation>
162
163    <operation name="disconnect">
164      <wsdl:input message="tns:disconnectInputMsg"/>
165      <wsdl:output message="tns:disconnectOutputMsg"/>
166    </operation>
167
168    <operation name="reqAuthorisation">
169      <wsdl:input message="tns:reqAuthorisationInputMsg"/>
170      <wsdl:output message="tns:reqAuthorisationOutputMsg"/>
171    </operation>
172
173    <operation name="getX509Cert">
174      <wsdl:input message="tns:getX509CertInputMsg"/>
175      <wsdl:output message="tns:getX509CertOutputMsg"/>
176    </operation>
177  </wsdl:portType> 
178 
179  <wsdl:binding name="SessionMgrBinding" type="tns:SessionMgr">
180    <soap:binding
181     style="document"
182     transport="http://schemas.xmlsoap.org/soap/http"/>
183
184    <operation name="addUser">
185      <soap:operation soapAction="addUser"/>
186      <wsdl:input>
187        <soap:body use="literal"/>
188      </wsdl:input>
189      <wsdl:output>
190        <soap:body use="literal"/>
191      </wsdl:output>
192    </operation>
193   
194    <operation name="connect">
195      <soap:operation soapAction="connect"/>
196      <wsdl:input>
197        <soap:body use="literal"/>
198      </wsdl:input>
199      <wsdl:output>
200        <soap:body use="literal"/>
201      </wsdl:output>
202    </operation>
203   
204    <operation name="disconnect">
205      <soap:operation soapAction="disconnect"/>
206      <wsdl:input>
207        <soap:body use="literal"/>
208      </wsdl:input>
209      <wsdl:output>
210        <soap:body use="literal"/>
211      </wsdl:output>
212    </operation>
213   
214    <operation name="reqAuthorisation">
215      <soap:operation soapAction="reqAuthorisation"/>
216      <wsdl:input>
217        <soap:body use="literal"/>
218      </wsdl:input>
219      <wsdl:output>
220        <soap:body use="literal"/>
221      </wsdl:output>
222    </operation>
223
224    <operation name="getX509Cert">
225      <soap:operation soapAction="getX509Cert"/>
226      <wsdl:input>
227        <soap:body use="literal"/>
228      </wsdl:input>
229      <wsdl:output>
230        <soap:body use="literal"/>
231      </wsdl:output>
232    </operation>   
233 
234  </wsdl:binding>
235
236  <wsdl:service name="SessionMgrService">
237    <wsdl:documentation>NERC Data Grid Session Manager web service</wsdl:documentation>
238    <wsdl:port name="SessionMgr" binding="tns:SessionMgrBinding">
239      <soap:address location="http://localhost:5000"/>
240    </wsdl:port>
241  </wsdl:service>
242</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.