source: TI12-security/trunk/java/DEWS/AttributeAuthority/appClientModule/META-INF/wsdl/attAuthority.wsdl @ 2265

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/java/DEWS/AttributeAuthority/appClientModule/META-INF/wsdl/attAuthority.wsdl@2265
Revision 2265, 6.5 KB checked in by pjkersha, 13 years ago (diff)

Working version including changes to getAttCert operation to support userId input.

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