source: TI12-security/trunk/java/DEWS/SessionMgr/appClientModule/META-INF/wsdl/sessionMgr.wsdl @ 2110

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/java/DEWS/SessionMgr/appClientModule/META-INF/wsdl/sessionMgr.wsdl@2110
Revision 2110, 8.1 KB checked in by pjkersha, 13 years ago (diff)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:ndg:security:sessionMgr" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SessionMgr" targetNamespace="urn:ndg:security:sessionMgr">
3
4  <wsdl:types>
5    <xsd:schema targetNamespace="urn:ndg:security:sessionMgr">
6      <xsd:element name="addUser">
7        <xsd:complexType>
8          <xsd:sequence>
9            <xsd:element maxOccurs="1" minOccurs="1" name="username" type="xsd:string"/>
10            <xsd:element maxOccurs="1" minOccurs="1" name="passphrase" type="xsd:string"/>
11          </xsd:sequence>
12        </xsd:complexType>
13      </xsd:element>
14     
15      <xsd:element name="addUserResponse">
16        <xsd:complexType/>
17      </xsd:element>
18
19      <xsd:element name="connect">
20        <xsd:complexType>
21          <xsd:sequence>
22            <xsd:element maxOccurs="1" minOccurs="1" name="username" type="xsd:string"/>
23            <xsd:element maxOccurs="1" minOccurs="1" name="passphrase" type="xsd:string"/>
24                    <xsd:element maxOccurs="1" minOccurs="1" name="createServerSess" type="xsd:boolean"/>
25                    <xsd:element maxOccurs="1" minOccurs="1" name="getCookie" type="xsd:boolean"/>
26          </xsd:sequence>
27        </xsd:complexType>
28      </xsd:element>
29     
30      <xsd:element name="connectResponse">
31        <xsd:complexType>
32                  <xsd:sequence>
33                    <xsd:element maxOccurs="1" minOccurs="1" name="proxyCert" type="xsd:string"/>
34                    <xsd:element maxOccurs="1" minOccurs="1" name="proxyPriKey" type="xsd:string"/>
35                    <xsd:element maxOccurs="1" minOccurs="1" name="userCert" type="xsd:string"/>
36                    <xsd:element maxOccurs="1" minOccurs="0" name="cookie" type="xsd:string"/>
37                  </xsd:sequence>
38                </xsd:complexType>
39      </xsd:element>
40
41      <xsd:element name="disconnect">
42        <xsd:complexType>
43                  <xsd:sequence>
44                    <xsd:element maxOccurs="1" minOccurs="0" name="userCert" type="xsd:string"/>
45                    <xsd:element maxOccurs="1" minOccurs="0" name="sessID" type="xsd:string"/>
46                    <xsd:element maxOccurs="1" minOccurs="0" name="encrSessionMgrURI" type="xsd:string"/>
47                  </xsd:sequence>
48                </xsd:complexType>
49      </xsd:element>
50
51      <xsd:element name="disconnectResponse">
52        <xsd:complexType/>
53      </xsd:element>
54           
55      <xsd:element name="getAttCert">
56        <xsd:complexType>
57                  <xsd:sequence>
58                    <xsd:element maxOccurs="1" minOccurs="0" name="userCert" type="xsd:string"/>
59                    <xsd:element maxOccurs="1" minOccurs="0" name="sessID" type="xsd:string"/>
60                    <xsd:element maxOccurs="1" minOccurs="0" name="encrSessionMgrURI" type="xsd:string"/>
61                    <xsd:element maxOccurs="1" minOccurs="1" name="attAuthorityURI" type="xsd:string"/>
62                    <xsd:element maxOccurs="1" minOccurs="0" name="attAuthorityCert" type="xsd:string"/>
63                    <xsd:element maxOccurs="1" minOccurs="0" name="reqRole" type="xsd:string"/>
64                    <xsd:element maxOccurs="1" minOccurs="1" name="mapFromTrustedHosts" type="xsd:boolean"/>
65                    <xsd:element maxOccurs="1" minOccurs="1" name="rtnExtAttCertList" type="xsd:boolean"/>
66                        <xsd:element maxOccurs="unbounded" minOccurs="0" name="extAttCert" type="xsd:string"/>
67                        <xsd:element maxOccurs="unbounded" minOccurs="0" name="extTrustedHost" type="xsd:string"/>
68                  </xsd:sequence>
69                </xsd:complexType>
70      </xsd:element>
71     
72      <xsd:element name="getAttCertResponse">
73        <xsd:complexType>
74              <xsd:sequence>
75                <xsd:element maxOccurs="1" minOccurs="0" name="attCert" type="xsd:string"/>
76                <xsd:element maxOccurs="1" minOccurs="0" name="msg" type="xsd:string"/>
77                        <xsd:element maxOccurs="unbounded" minOccurs="0" name="extAttCertOut" type="xsd:string"/>
78              </xsd:sequence>
79            </xsd:complexType>
80      </xsd:element>
81
82      <xsd:element name="getX509Cert">
83        <xsd:complexType/>
84      </xsd:element>
85     
86      <xsd:element name="getX509CertResponse">
87        <xsd:complexType>
88                  <xsd:sequence>
89                    <xsd:element maxOccurs="1" minOccurs="1" name="x509Cert" type="xsd:string"/>
90                  </xsd:sequence>
91                </xsd:complexType>
92      </xsd:element>
93
94    </xsd:schema>
95  </wsdl:types>
96 
97  <wsdl:message name="addUserInputMsg">
98    <wsdl:part element="tns:addUser" name="parameters"/>
99  </wsdl:message>
100
101  <wsdl:message name="addUserOutputMsg">
102    <wsdl:part element="tns:addUserResponse" name="parameters"/>
103  </wsdl:message>
104 
105  <wsdl:message name="connectInputMsg">
106    <wsdl:part element="tns:connect" name="parameters"/>
107  </wsdl:message>
108
109  <wsdl:message name="connectOutputMsg">
110    <wsdl:part element="tns:connectResponse" name="parameters"/>
111  </wsdl:message>
112 
113  <wsdl:message name="disconnectInputMsg">
114    <wsdl:part element="tns:disconnect" name="parameters"/>
115  </wsdl:message>
116
117  <wsdl:message name="disconnectOutputMsg">
118    <wsdl:part element="tns:disconnectResponse" name="parameters"/>
119  </wsdl:message>
120
121  <wsdl:message name="getAttCertInputMsg">
122    <wsdl:part element="tns:getAttCert" name="parameters"/>
123  </wsdl:message>
124
125  <wsdl:message name="getAttCertOutputMsg">
126    <wsdl:part element="tns:getAttCertResponse" name="parameters"/>
127  </wsdl:message>
128
129  <wsdl:message name="getX509CertInputMsg">
130    <wsdl:part element="tns:getX509Cert" name="parameters"/>
131  </wsdl:message>
132
133  <wsdl:message name="getX509CertOutputMsg">
134    <wsdl:part element="tns:getX509CertResponse" name="parameters"/>
135  </wsdl:message>
136
137  <wsdl:portType name="SessionMgr">
138    <wsdl:operation name="addUser">
139      <wsdl:input message="tns:addUserInputMsg"/>
140      <wsdl:output message="tns:addUserOutputMsg"/>
141    </wsdl:operation>
142
143    <wsdl:operation name="connect">
144      <wsdl:input message="tns:connectInputMsg"/>
145      <wsdl:output message="tns:connectOutputMsg"/>
146    </wsdl:operation>
147
148    <wsdl:operation name="disconnect">
149      <wsdl:input message="tns:disconnectInputMsg"/>
150      <wsdl:output message="tns:disconnectOutputMsg"/>
151    </wsdl:operation>
152
153    <wsdl:operation name="getAttCert">
154      <wsdl:input message="tns:getAttCertInputMsg"/>
155      <wsdl:output message="tns:getAttCertOutputMsg"/>
156    </wsdl:operation>
157
158    <wsdl:operation name="getX509Cert">
159      <wsdl:input message="tns:getX509CertInputMsg"/>
160      <wsdl:output message="tns:getX509CertOutputMsg"/>
161    </wsdl:operation>
162  </wsdl:portType> 
163 
164  <wsdl:binding name="SessionMgrBinding" type="tns:SessionMgr">
165    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
166
167    <wsdl:operation name="addUser">
168      <soap:operation soapAction="addUser"/>
169      <wsdl:input>
170        <soap:body use="literal"/>
171      </wsdl:input>
172      <wsdl:output>
173        <soap:body use="literal"/>
174      </wsdl:output>
175    </wsdl:operation>
176   
177    <wsdl:operation name="connect">
178      <soap:operation soapAction="connect"/>
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="disconnect">
188      <soap:operation soapAction="disconnect"/>
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="getAttCert">
198      <soap:operation soapAction="getAttCert"/>
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="getX509Cert">
208      <soap:operation soapAction="getX509Cert"/>
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:binding>
218
219  <wsdl:service name="SessionMgrService">
220    <wsdl:documentation>NERC Data Grid Session Manager web service</wsdl:documentation>
221    <wsdl:port binding="tns:SessionMgrBinding" name="SessionMgr">
222      <soap:address location="http://localhost:5000"/>
223    </wsdl:port>
224  </wsdl:service>
225</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.