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

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

Major re-working to allow separate client, server and common eggs.

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