source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/sessionmanager/sessionMgr.wsdl @ 4256

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/zsi/sessionmanager/sessionMgr.wsdl@4256
Revision 4256, 8.1 KB checked in by pjkersha, 12 years ago (diff)

Separate package for ZSI bindings to Session Manager WSGI

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:sessionMgr"
10 targetNamespace="urn:ndg:security:sessionMgr">
11
12  <wsdl:types>
13    <xsd:schema targetNamespace="urn:ndg:security:sessionMgr">
14      <xsd:element name="getSessionStatus">
15        <xsd:complexType>
16          <xsd:sequence>
17            <xsd:element name="userDN" type="xsd:string" minOccurs="0" maxOccurs="1"/>
18            <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
19          </xsd:sequence>
20        </xsd:complexType>
21      </xsd:element>
22     
23      <xsd:element name="getSessionStatusResponse">
24        <xsd:complexType>
25          <xsd:sequence>
26                    <xsd:element name="isAlive" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
27                  </xsd:sequence>
28        </xsd:complexType>
29      </xsd:element>
30
31      <xsd:element name="connect">
32        <xsd:complexType>
33          <xsd:sequence>
34            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/>
35            <xsd:element name="passphrase" type="xsd:string" minOccurs="1" maxOccurs="1"/>
36                    <xsd:element name="createServerSess" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
37          </xsd:sequence>
38        </xsd:complexType>
39      </xsd:element>
40     
41      <xsd:element name="connectResponse">
42        <xsd:complexType>
43                  <xsd:sequence>
44                    <xsd:element name="userCert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
45                    <xsd:element name="userPriKey" type="xsd:string" minOccurs="1" maxOccurs="1"/>
46                    <xsd:element name="issuingCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
47                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
48                  </xsd:sequence>
49                </xsd:complexType>
50      </xsd:element>
51
52      <xsd:element name="disconnect">
53        <xsd:complexType>
54                  <xsd:sequence>
55                    <xsd:element name="userCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
56                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
57                  </xsd:sequence>
58                </xsd:complexType>
59      </xsd:element>
60
61      <xsd:element name="disconnectResponse">
62        <xsd:complexType/>
63      </xsd:element>
64           
65      <xsd:element name="getAttCert">
66        <xsd:complexType>
67                  <xsd:sequence>
68                    <xsd:element name="userCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
69                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
70                    <xsd:element name="attAuthorityURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
71                    <xsd:element name="attAuthorityCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
72                    <xsd:element name="reqRole" type="xsd:string" minOccurs="0" maxOccurs="1"/>
73                    <xsd:element name="mapFromTrustedHosts" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
74                    <xsd:element name="rtnExtAttCertList" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
75                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
76                        <xsd:element name="extTrustedHost" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
77                  </xsd:sequence>
78                </xsd:complexType>
79      </xsd:element>
80     
81      <xsd:element name="getAttCertResponse">
82        <xsd:complexType>
83              <xsd:sequence>
84                <xsd:element name="attCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
85                <xsd:element name="msg" type="xsd:string" minOccurs="0" maxOccurs="1"/>
86                        <xsd:element name="extAttCertOut" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
87              </xsd:sequence>
88            </xsd:complexType>
89      </xsd:element>
90
91      <xsd:element name="getX509Cert">
92        <xsd:complexType/>
93      </xsd:element>
94     
95      <xsd:element name="getX509CertResponse">
96        <xsd:complexType>
97                  <xsd:sequence>
98                    <xsd:element name="x509Cert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
99                  </xsd:sequence>
100                </xsd:complexType>
101      </xsd:element>
102
103    </xsd:schema>
104  </wsdl:types>
105 
106  <wsdl:message name="getSessionStatusInputMsg">
107    <wsdl:part name="parameters" element="tns:getSessionStatus"/>
108  </wsdl:message>
109
110  <wsdl:message name="getSessionStatusOutputMsg">
111    <wsdl:part name="parameters" element="tns:getSessionStatusResponse"/>
112  </wsdl:message>
113 
114  <wsdl:message name="connectInputMsg">
115    <wsdl:part name="parameters" element="tns:connect"/>
116  </wsdl:message>
117
118  <wsdl:message name="connectOutputMsg">
119    <wsdl:part name="parameters" element="tns:connectResponse"/>
120  </wsdl:message>
121 
122  <wsdl:message name="disconnectInputMsg">
123    <wsdl:part name="parameters" element="tns:disconnect"/>
124  </wsdl:message>
125
126  <wsdl:message name="disconnectOutputMsg">
127    <wsdl:part name="parameters" element="tns:disconnectResponse"/>
128  </wsdl:message>
129
130  <wsdl:message name="getAttCertInputMsg">
131    <wsdl:part name="parameters" element="tns:getAttCert"/>
132  </wsdl:message>
133
134  <wsdl:message name="getAttCertOutputMsg">
135    <wsdl:part name="parameters" element="tns:getAttCertResponse"/>
136  </wsdl:message>
137
138  <wsdl:message name="getX509CertInputMsg">
139    <wsdl:part name="parameters" element="tns:getX509Cert"/>
140  </wsdl:message>
141
142  <wsdl:message name="getX509CertOutputMsg">
143    <wsdl:part name="parameters" element="tns:getX509CertResponse"/>
144  </wsdl:message>
145
146  <wsdl:portType name="SessionMgr">
147    <wsdl:operation name="getSessionStatus">
148      <wsdl:input message="tns:getSessionStatusInputMsg"/>
149      <wsdl:output message="tns:getSessionStatusOutputMsg"/>
150    </wsdl:operation>
151
152    <wsdl:operation name="connect">
153      <wsdl:input message="tns:connectInputMsg"/>
154      <wsdl:output message="tns:connectOutputMsg"/>
155    </wsdl:operation>
156
157    <wsdl:operation name="disconnect">
158      <wsdl:input message="tns:disconnectInputMsg"/>
159      <wsdl:output message="tns:disconnectOutputMsg"/>
160    </wsdl:operation>
161
162    <wsdl:operation name="getAttCert">
163      <wsdl:input message="tns:getAttCertInputMsg"/>
164      <wsdl:output message="tns:getAttCertOutputMsg"/>
165    </wsdl:operation>
166
167    <wsdl:operation name="getX509Cert">
168      <wsdl:input message="tns:getX509CertInputMsg"/>
169      <wsdl:output message="tns:getX509CertOutputMsg"/>
170    </wsdl:operation>
171  </wsdl:portType> 
172 
173  <wsdl:binding name="SessionMgrBinding" type="tns:SessionMgr">
174    <soap:binding
175     style="document"
176     transport="http://schemas.xmlsoap.org/soap/http"/>
177
178    <wsdl:operation name="getSessionStatus">
179      <soap:operation soapAction="getSessionStatus"/>
180      <wsdl:input>
181        <soap:body use="literal"/>
182      </wsdl:input>
183      <wsdl:output>
184        <soap:body use="literal"/>
185      </wsdl:output>
186    </wsdl:operation>
187   
188    <wsdl:operation name="connect">
189      <soap:operation soapAction="connect"/>
190      <wsdl:input>
191        <soap:body use="literal"/>
192      </wsdl:input>
193      <wsdl:output>
194        <soap:body use="literal"/>
195      </wsdl:output>
196    </wsdl:operation>
197   
198    <wsdl:operation name="disconnect">
199      <soap:operation soapAction="disconnect"/>
200      <wsdl:input>
201        <soap:body use="literal"/>
202      </wsdl:input>
203      <wsdl:output>
204        <soap:body use="literal"/>
205      </wsdl:output>
206    </wsdl:operation>
207   
208    <wsdl:operation name="getAttCert">
209      <soap:operation soapAction="getAttCert"/>
210      <wsdl:input>
211        <soap:body use="literal"/>
212      </wsdl:input>
213      <wsdl:output>
214        <soap:body use="literal"/>
215      </wsdl:output>
216    </wsdl:operation>
217
218    <wsdl:operation name="getX509Cert">
219      <soap:operation soapAction="getX509Cert"/>
220      <wsdl:input>
221        <soap:body use="literal"/>
222      </wsdl:input>
223      <wsdl:output>
224        <soap:body use="literal"/>
225      </wsdl:output>
226    </wsdl:operation>   
227 
228  </wsdl:binding>
229
230  <wsdl:service name="SessionMgrService">
231    <wsdl:documentation>NERC Data Grid Session Manager web service</wsdl:documentation>
232    <wsdl:port name="SessionMgr" binding="tns:SessionMgrBinding">
233      <soap:address location="http://localhost:5000"/>
234    </wsdl:port>
235  </wsdl:service>
236</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.