source: TI12-security/tags/ndg-security-1.3.4/Tests/dewsGatekeeper/gatekeeper.wsdl @ 1957

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/tags/ndg-security-1.3.4/Tests/dewsGatekeeper/gatekeeper.wsdl@6210
Revision 1957, 2.4 KB checked in by pjkersha, 13 years ago (diff)

Example code for Geoserver Gatekeeper web service interface for DEWS.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="Gatekeeper"
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="ndg:security:Gatekeeper"
10 xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"
11 targetNamespace="ndg:security:Gatekeeper">
12
13  <wsdl:types>
14    <xsd:schema>
15      <xsd:element name="get">
16        <xsd:complexType>
17          <xsd:sequence>
18            <xsd:element name="userX509Cert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
19            <xsd:element name="userAttributeCertificate" type="xsd:string" minOccurs="1" maxOccurs="1"/>
20            <xsd:element name="geoserverRequest" type="xsd:string" minOccurs="1" maxOccurs="1"/>
21          </xsd:sequence>
22        </xsd:complexType>
23      </xsd:element>
24      <xsd:element name="getResponse">
25        <xsd:complexType>
26                  <xsd:sequence>
27                <xsd:element name="geoServerResponse" type="xsd:string" minOccurs="1" maxOccurs="1"/>
28                  </xsd:sequence>
29                </xsd:complexType>
30      </xsd:element>
31    </xsd:schema>
32  </wsdl:types>
33
34  <wsdl:message name="getInputMsg">
35    <wsdl:part name="parameters" element="get"/>
36  </wsdl:message>
37
38  <wsdl:message name="getOutputMsg">
39    <wsdl:part name="parameters" element="getResponse"/>
40  </wsdl:message>
41
42  <wsdl:portType name="Gatekeeper">
43    <wsdl:operation name="get">
44      <wsdl:input message="tns:getInputMsg"/>
45      <wsdl:output message="tns:getOutputMsg"/>
46    </wsdl:operation>
47  </wsdl:portType>
48
49  <wsdl:binding name="GatekeeperBinding" type="tns:Gatekeeper">
50    <soap:binding
51     style="document"
52     transport="http://schemas.xmlsoap.org/soap/http"/>
53    <wsdl:operation name="get">
54      <soap:operation soapAction="get"/>
55      <wsdl:input>
56        <soap:body use="literal"/>
57      </wsdl:input>
58      <wsdl:output>
59        <soap:body use="literal"/>
60      </wsdl:output>
61    </wsdl:operation>
62  </wsdl:binding>
63
64  <wsdl:service name="GatekeeperService">
65    <wsdl:documentation>DEWS Gatekeeper web service</wsdl:documentation>
66    <wsdl:port name="Gatekeeper" binding="tns:GatekeeperBinding">
67      <soap:address location="http://localhost:5000"/>
68    </wsdl:port>
69  </wsdl:service>
70</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.