source: TI12-security/trunk/python/ndg.security.common/ndg/security/common/zsi/attributeauthority/attributeauthority.wsdl @ 4521

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.common/ndg/security/common/zsi/attributeauthority/attributeauthority.wsdl@4692
Revision 4521, 7.1 KB checked in by pjkersha, 11 years ago (diff)

Completed tests running Attribute Authority and Session Manager in the same WSGI stack:

  • ndg.security.server.wsgi.utils.attributeauthorityclient.WSGIAttributeAuthorityClient: completed this class and tested in combinedservices unit tests. This class enables WSGI apps to access an AttributeAuthority? WSGI app running in the same stack or else make a callout to a remote SOAP service.
  • ndg.security.server.wsgi.wssecurity: improved config set-up
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="AttributeAuthority"
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:AttributeAuthority"
10 targetNamespace="urn:ndg:security:AttributeAuthority">
11
12  <wsdl:types>
13    <xsd:schema targetNamespace="urn:ndg:security:AttributeAuthority">
14   
15      <xsd:complexType name="HostInfo">
16        <xsd:sequence>
17          <xsd:element name="hostname" type="xsd:string" minOccurs="1" maxOccurs="1"/>
18          <xsd:element name="aaURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
19          <xsd:element name="aaDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
20          <xsd:element name="loginURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
21          <xsd:element name="loginServerDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
22          <xsd:element name="loginRequestServerDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
23          <xsd:element name="roleList" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
24        </xsd:sequence>
25      </xsd:complexType>
26     
27      <xsd:element name="getAttCert">
28        <xsd:complexType>
29          <xsd:sequence>
30            <xsd:element name="userId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
31            <xsd:element name="userX509Cert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
32            <xsd:element name="userAttCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
33          </xsd:sequence>
34        </xsd:complexType>
35      </xsd:element>
36     
37      <xsd:element name="getAttCertResponse">
38        <xsd:complexType>
39          <xsd:sequence>
40            <xsd:element name="attCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
41                <xsd:element name="msg" type="xsd:string" minOccurs="0" maxOccurs="1"/>
42          </xsd:sequence>
43        </xsd:complexType>
44      </xsd:element>
45
46      <xsd:element name="getHostInfo">
47        <xsd:complexType/>
48      </xsd:element>
49
50      <xsd:element name="getHostInfoResponse">
51        <xsd:complexType>
52          <xsd:sequence>
53            <xsd:element name="hostname" type="xsd:string" minOccurs="1" maxOccurs="1"/>
54            <xsd:element name="aaURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
55            <xsd:element name="aaDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
56            <xsd:element name="loginURI" type="xsd:string" minOccurs="1" maxOccurs="1"/>
57            <xsd:element name="loginServerDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
58            <xsd:element name="loginRequestServerDN" type="xsd:string" minOccurs="1" maxOccurs="1"/>
59          </xsd:sequence>
60        </xsd:complexType>
61      </xsd:element>
62
63      <xsd:element name="getTrustedHostInfo">
64        <xsd:complexType>
65          <xsd:sequence>
66            <xsd:element name="role" type="xsd:string" minOccurs="0" maxOccurs="1"/>
67          </xsd:sequence>
68        </xsd:complexType>
69      </xsd:element>
70
71      <xsd:element name="getTrustedHostInfoResponse">
72        <xsd:complexType>
73          <xsd:sequence>
74            <xsd:element name="trustedHosts" type="tns:HostInfo" minOccurs="0" maxOccurs="unbounded"/>
75          </xsd:sequence>
76        </xsd:complexType>
77      </xsd:element>
78
79      <xsd:element name="getAllHostsInfo">
80        <xsd:complexType/>
81      </xsd:element>
82
83      <xsd:element name="getAllHostsInfoResponse">
84        <xsd:complexType>
85          <xsd:sequence>
86            <xsd:element name="hosts" type="tns:HostInfo" minOccurs="0" maxOccurs="unbounded"/>
87          </xsd:sequence>
88        </xsd:complexType>
89      </xsd:element>
90    </xsd:schema>
91  </wsdl:types>
92 
93  <wsdl:message name="getAttCertInputMsg">
94    <wsdl:part name="parameters" element="tns:getAttCert"/>
95  </wsdl:message>
96
97  <wsdl:message name="getAttCertOutputMsg">
98    <wsdl:part name="parameters" element="tns:getAttCertResponse"/>
99  </wsdl:message>
100 
101  <wsdl:message name="getHostInfoInputMsg">
102    <wsdl:part name="parameters" element="tns:getHostInfo"/>
103  </wsdl:message>
104
105  <wsdl:message name="getHostInfoOutputMsg">
106    <wsdl:part name="parameters" element="tns:getHostInfoResponse"/>
107  </wsdl:message>
108
109  <wsdl:message name="getTrustedHostInfoInputMsg">
110    <wsdl:part name="parameters" element="tns:getTrustedHostInfo"/>
111  </wsdl:message>
112
113  <wsdl:message name="getTrustedHostInfoOutputMsg">
114    <wsdl:part name="parameters" element="tns:getTrustedHostInfoResponse"/>
115  </wsdl:message>
116
117  <wsdl:message name="getAllHostsInfoInputMsg">
118    <wsdl:part name="parameters" element="tns:getAllHostsInfo"/>
119  </wsdl:message>
120
121  <wsdl:message name="getAllHostsInfoOutputMsg">
122    <wsdl:part name="parameters" element="tns:getAllHostsInfoResponse"/>
123  </wsdl:message>
124
125  <wsdl:portType name="AttributeAuthority">
126    <wsdl:operation name="getAttCert">
127      <wsdl:input message="tns:getAttCertInputMsg"/>
128      <wsdl:output message="tns:getAttCertOutputMsg"/>
129    </wsdl:operation>
130
131    <wsdl:operation name="getHostInfo">
132      <wsdl:input message="tns:getHostInfoInputMsg"/>
133      <wsdl:output message="tns:getHostInfoOutputMsg"/>
134    </wsdl:operation>
135
136    <wsdl:operation name="getTrustedHostInfo">
137      <wsdl:input message="tns:getTrustedHostInfoInputMsg"/>
138      <wsdl:output message="tns:getTrustedHostInfoOutputMsg"/>
139    </wsdl:operation>
140
141    <wsdl:operation name="getAllHostsInfo">
142      <wsdl:input message="tns:getAllHostsInfoInputMsg"/>
143      <wsdl:output message="tns:getAllHostsInfoOutputMsg"/>
144    </wsdl:operation>
145
146  </wsdl:portType>
147
148  <wsdl:binding name="AttributeAuthorityBinding" type="tns:AttributeAuthority">
149    <soap:binding
150     style="document"
151     transport="http://schemas.xmlsoap.org/soap/http"/>
152     
153    <wsdl:operation name="getAttCert">
154      <soap:operation soapAction="getAttCert"/>
155      <wsdl:input>
156        <soap:body use="literal"/>
157      </wsdl:input>
158      <wsdl:output>
159        <soap:body use="literal"/>
160      </wsdl:output>
161    </wsdl:operation>
162
163    <wsdl:operation name="getHostInfo">
164      <soap:operation soapAction="getHostInfo"/>
165      <wsdl:input>
166        <soap:body use="literal"/>
167      </wsdl:input>
168      <wsdl:output>
169        <soap:body use="literal"/>
170      </wsdl:output>
171    </wsdl:operation>
172
173    <wsdl:operation name="getTrustedHostInfo">
174      <soap:operation soapAction="getTrustedHostInfo"/>
175      <wsdl:input>
176        <soap:body use="literal"/>
177      </wsdl:input>
178      <wsdl:output>
179        <soap:body use="literal"/>
180      </wsdl:output>
181    </wsdl:operation>
182
183    <wsdl:operation name="getAllHostsInfo">
184      <soap:operation soapAction="getAllHostsInfo"/>
185      <wsdl:input>
186        <soap:body use="literal"/>
187      </wsdl:input>
188      <wsdl:output>
189        <soap:body use="literal"/>
190      </wsdl:output>
191    </wsdl:operation>
192  </wsdl:binding>
193
194  <wsdl:service name="AttributeAuthorityService">
195    <wsdl:documentation>NERC Data Grid Attribute Authority web service</wsdl:documentation>
196    <wsdl:port name="AttributeAuthority" binding="tns:AttributeAuthorityBinding">
197      <soap:address location="http://localhost:5000"/>
198    </wsdl:port>
199  </wsdl:service>
200</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.