source: TI12-security/trunk/python/www/html/attAuthority.wsdl @ 1730

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

server-config.tac: changes to AttAuthorityService? sub class - working
stub code (apart from soap_getHostInfo) and started adding in actual hook
up to AttAuthority? code.

AttAuthorityClientTest?.py: unit tests working with server side stub version.

common/AttAuthority/init.py: change wsdl refs to url. WSDL isn't actually
relevant here, only the url for the service to be accessed.

  • 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="AttAuthority"
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="getAttCert">
16        <xsd:complexType>
17          <xsd:sequence>
18            <xsd:element name="userCert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
19            <xsd:element name="userAttCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
20          </xsd:sequence>
21        </xsd:complexType>
22      </xsd:element>
23      <xsd:element name="getAttCertResponse">
24        <xsd:complexType>
25          <xsd:sequence>
26            <xsd:element name="attCert" type="xsd:string"/>
27          </xsd:sequence>
28        </xsd:complexType>
29      </xsd:element>
30
31      <xsd:element name="getHostInfo">
32        <xsd:complexType/>
33      </xsd:element>
34
35      <xsd:element name="getHostInfoResponse">
36        <xsd:complexType>
37              <xsd:sequence>
38                <xsd:element name="host" type="xsd:string"/>
39              </xsd:sequence>
40            </xsd:complexType>
41      </xsd:element>
42
43      <xsd:element name="getTrustedHostInfo">
44        <xsd:complexType>
45          <xsd:sequence>
46            <xsd:element name="role" type="xsd:string"/>
47          </xsd:sequence>
48        </xsd:complexType>
49      </xsd:element>
50      <xsd:element name="getTrustedHostInfoResponse">
51        <xsd:complexType>
52              <xsd:sequence>
53                <xsd:element name="trustedHosts" type="xsd:string"/>
54              </xsd:sequence>
55            </xsd:complexType>
56      </xsd:element>
57
58      <xsd:element name="getPubKey">
59        <xsd:complexType/>
60      </xsd:element>
61      <xsd:element name="getPubKeyResponse">
62        <xsd:complexType>
63          <xsd:sequence>
64            <xsd:element name="x509Cert" type="xsd:string"/>
65          </xsd:sequence>
66        </xsd:complexType>
67      </xsd:element>
68
69    </xsd:schema>
70  </wsdl:types>
71 
72  <message name="getAttCertInputMsg">
73    <part name="parameters" element="tns:getAttCert"/>
74  </message>
75
76  <message name="getAttCertOutputMsg">
77    <part name="parameters" element="tns:getAttCertResponse"/>
78  </message>
79 
80  <message name="getHostInfoInputMsg">
81    <part name="parameters" element="tns:getHostInfo"/>
82  </message>
83
84  <message name="getHostInfoOutputMsg">
85    <part name="parameters" element="tns:getHostInfoResponse"/>
86  </message>
87
88  <message name="getTrustedHostInfoInputMsg">
89    <part name="parameters" element="tns:getTrustedHostInfo"/>
90  </message>
91
92  <message name="getTrustedHostInfoOutputMsg">
93    <part name="parameters" element="tns:getTrustedHostInfoResponse"/>
94  </message>
95
96  <message name="getPubKeyInputMsg">
97    <part name="parameters" element="tns:getPubKey"/>
98  </message>
99
100  <message name="getPubKeyOutputMsg">
101    <part name="parameters" element="tns:getPubKeyResponse"/>
102  </message>
103
104  <wsdl:portType name="AttAuthority">
105    <wsdl:operation name="getAttCert">
106      <wsdl:input message="tns:getAttCertInputMsg"/>
107      <wsdl:output message="tns:getAttCertOutputMsg"/>
108    </wsdl:operation>
109
110    <operation name="getHostInfo">
111      <wsdl:input message="tns:getHostInfoInputMsg"/>
112      <output message="tns:getHostInfoOutputMsg"/>
113    </operation>
114
115    <operation name="getTrustedHostInfo">
116      <wsdl:input message="tns:getTrustedHostInfoInputMsg"/>
117      <output message="tns:getTrustedHostInfoOutputMsg"/>
118    </operation>
119
120    <operation name="getPubKey">
121      <wsdl:input message="tns:getPubKeyInputMsg"/>
122      <output message="tns:getPubKeyOutputMsg"/>
123    </operation>
124  </wsdl:portType>
125
126  <wsdl:binding name="AttAuthorityBinding" type="tns:AttAuthority">
127    <soap:binding
128     style="document"
129     transport="http://schemas.xmlsoap.org/soap/http"/>
130     
131    <wsdl:operation name="getAttCert">
132      <soap:operation soapAction="getAttCert"/>
133      <wsdl:input>
134        <soap:body use="literal"/>
135      </wsdl:input>
136      <wsdl:output>
137        <soap:body use="literal"/>
138      </wsdl:output>
139    </wsdl:operation>
140
141    <operation name="getHostInfo">
142      <soap:operation soapAction="getHostInfo"/>
143      <wsdl:input>
144        <soap:body use="literal"/>
145      </wsdl:input>
146      <wsdl:output>
147        <soap:body use="literal"/>
148      </wsdl:output>
149    </operation>
150
151    <operation name="getTrustedHostInfo">
152      <soap:operation soapAction="getTrustedHostInfo"/>
153      <wsdl:input>
154        <soap:body use="literal"/>
155      </wsdl:input>
156      <wsdl:output>
157        <soap:body use="literal"/>
158      </wsdl:output>
159    </operation>
160
161    <operation name="getPubKey">
162      <soap:operation soapAction="getPubKey"/>
163      <wsdl:input>
164        <soap:body use="literal"/>
165      </wsdl:input>
166      <wsdl:output>
167        <soap:body use="literal"/>
168      </wsdl:output>
169    </operation>   
170 
171  </wsdl:binding>
172
173  <wsdl:service name="AttAuthorityService">
174    <wsdl:documentation>NERC Data Grid Attribute Authority web service</wsdl:documentation>
175    <wsdl:port name="SimpleCA" binding="tns:AttAuthorityBinding">
176      <soap:address location="http://localhost:5700"/>
177    </wsdl:port>
178  </wsdl:service>
179</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.