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

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

Fixed bug with WebSphere? import: included targetNamespace declaration in
xsd:schema element.

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