1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Matt Pritchard (NERC Earth Observation Data Centre) -->
|
---|
3 | <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:tns1="urn:DiscoveryServiceAPI" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:DiscoveryServiceAPI">
|
---|
4 | <wsdl:types>
|
---|
5 | <xsd:schema targetNamespace="urn:DiscoveryServiceAPI" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:DiscoveryServiceAPI" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
6 | <!-- Request elements -->
|
---|
7 | <xs:element name="doAuthorSearch" type="tns:SearchType"/>
|
---|
8 | <xs:element name="doFullTextSearch" type="tns:SearchType"/>
|
---|
9 | <xs:element name="doParameterSearch" type="tns:SearchType"/>
|
---|
10 | <xs:element name="doPresent" type="tns:PresentType"/>
|
---|
11 | <!-- Response elements -->
|
---|
12 | <xs:element name="doAuthorSearchReturn" type="tns:SearchReturnType"/>
|
---|
13 | <xs:element name="doFullTextSearchReturn" type="tns:SearchReturnType"/>
|
---|
14 | <xs:element name="doParameterSearchReturn" type="tns:SearchReturnType"/>
|
---|
15 | <xs:element name="doPresentReturn" type="tns:PresentReturnType"/>
|
---|
16 | <!-- Request global types -->
|
---|
17 | <xs:complexType name="PresentType">
|
---|
18 | <xs:sequence>
|
---|
19 | <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/>
|
---|
20 | <xs:element name="format" type="tns:PresentFormatType" minOccurs="0"/>
|
---|
21 | </xs:sequence>
|
---|
22 | </xs:complexType>
|
---|
23 | <xs:complexType name="SearchType">
|
---|
24 | <xs:sequence>
|
---|
25 | <xs:element name="term" type="xs:string"/>
|
---|
26 | <xs:element name="start" type="xs:positiveInteger" minOccurs="0"/>
|
---|
27 | <xs:element name="howMany" type="xs:positiveInteger" minOccurs="0"/>
|
---|
28 | <xs:element name="orderBy" type="tns:orderByType" minOccurs="0"/>
|
---|
29 | <xs:element name="orderByDirection" type="tns:orderByDirectionType" minOccurs="0"/>
|
---|
30 | <xs:element name="scope" type="tns:scopeType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
31 | <xs:element name="BoundingBox" type="tns:BoundingBoxType" minOccurs="0"/>
|
---|
32 | <xs:element name="DateRange" type="tns:DateRangeType" minOccurs="0"/>
|
---|
33 | </xs:sequence>
|
---|
34 | </xs:complexType>
|
---|
35 | <!-- Response global types -->
|
---|
36 | <xs:complexType name="PresentReturnType">
|
---|
37 | <xs:sequence>
|
---|
38 | <xs:element name="status" type="xs:boolean"/>
|
---|
39 | <xs:element name="statusMessage" type="xs:string"/>
|
---|
40 | <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/>
|
---|
41 | </xs:sequence>
|
---|
42 | </xs:complexType>
|
---|
43 | <xs:complexType name="SearchReturnType">
|
---|
44 | <xs:sequence>
|
---|
45 | <xs:element name="status" type="xs:boolean"/>
|
---|
46 | <xs:element name="statusMessage" type="xs:string"/>
|
---|
47 | <xs:element name="resultId" type="xs:int" minOccurs="0"/>
|
---|
48 | <xs:element name="hits" type="xs:int" minOccurs="0"/>
|
---|
49 | <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/>
|
---|
50 | </xs:sequence>
|
---|
51 | </xs:complexType>
|
---|
52 | <!-- Other global types-->
|
---|
53 | <xs:complexType name="BoundingBoxType">
|
---|
54 | <xs:all>
|
---|
55 | <xs:element name="LimitNorth" type="xs:decimal"/>
|
---|
56 | <xs:element name="LimitSouth" type="xs:decimal"/>
|
---|
57 | <xs:element name="LimitWest" type="xs:decimal"/>
|
---|
58 | <xs:element name="LimitEast" type="xs:decimal"/>
|
---|
59 | </xs:all>
|
---|
60 | </xs:complexType>
|
---|
61 | <xs:complexType name="DateRangeType">
|
---|
62 | <xs:all>
|
---|
63 | <xs:element name="DateRangeStart" type="xs:date"/>
|
---|
64 | <xs:element name="DateRangeEnd" type="xs:date"/>
|
---|
65 | </xs:all>
|
---|
66 | </xs:complexType>
|
---|
67 | <xs:complexType name="DocumentsType">
|
---|
68 | <xs:sequence>
|
---|
69 | <xs:element name="document" type="xs:string" maxOccurs="unbounded"/>
|
---|
70 | </xs:sequence>
|
---|
71 | </xs:complexType>
|
---|
72 | <xs:simpleType name="orderByType">
|
---|
73 | <xs:restriction base="xs:string">
|
---|
74 | <xs:enumeration value="date"/>
|
---|
75 | <xs:enumeration value="dataCentre"/>
|
---|
76 | </xs:restriction>
|
---|
77 | </xs:simpleType>
|
---|
78 | <xs:simpleType name="orderByDirectionType">
|
---|
79 | <xs:restriction base="xs:string">
|
---|
80 | <xs:enumeration value="ascending"/>
|
---|
81 | <xs:enumeration value="descnding"/>
|
---|
82 | </xs:restriction>
|
---|
83 | </xs:simpleType>
|
---|
84 | <xs:simpleType name="PresentFormatType">
|
---|
85 | <xs:restriction base="xs:string">
|
---|
86 | <xs:enumeration value="dc"/>
|
---|
87 | <xs:enumeration value="dif"/>
|
---|
88 | <xs:enumeration value="iso19139"/>
|
---|
89 | <xs:enumeration value="moles"/>
|
---|
90 | <xs:enumeration value="original"/>
|
---|
91 | </xs:restriction>
|
---|
92 | </xs:simpleType>
|
---|
93 | <xs:simpleType name="scopeType">
|
---|
94 | <xs:restriction base="xs:string">
|
---|
95 | <xs:enumeration value="NERC_DDC"/>
|
---|
96 | <xs:enumeration value="NERC"/>
|
---|
97 | <xs:enumeration value="MDIP"/>
|
---|
98 | </xs:restriction>
|
---|
99 | </xs:simpleType>
|
---|
100 | </xsd:schema>
|
---|
101 | </wsdl:types>
|
---|
102 | <wsdl:message name="doFullTextSearchRequest">
|
---|
103 | <wsdl:part name="part" element="tns1:doFullTextSearch"/>
|
---|
104 | </wsdl:message>
|
---|
105 | <wsdl:message name="doFullTextSearchResponse">
|
---|
106 | <wsdl:part name="part" element="tns1:doFullTextSearchReturn"/>
|
---|
107 | </wsdl:message>
|
---|
108 | <wsdl:message name="doAuthorSearchRequest">
|
---|
109 | <wsdl:part name="part" element="tns1:doAuthorSearch"/>
|
---|
110 | </wsdl:message>
|
---|
111 | <wsdl:message name="doAuthorSearchResponse">
|
---|
112 | <wsdl:part name="part" element="tns1:doAuthorSearchReturn"/>
|
---|
113 | </wsdl:message>
|
---|
114 | <wsdl:message name="doParameterSearchRequest">
|
---|
115 | <wsdl:part name="part" element="tns1:doParameterSearch"/>
|
---|
116 | </wsdl:message>
|
---|
117 | <wsdl:message name="doParameterSearchResponse">
|
---|
118 | <wsdl:part name="part" element="tns1:doParameterSearchReturn"/>
|
---|
119 | </wsdl:message>
|
---|
120 | <wsdl:message name="doPresentRequest">
|
---|
121 | <wsdl:part name="part" element="tns1:doPresent"/>
|
---|
122 | </wsdl:message>
|
---|
123 | <wsdl:message name="doPresentResponse">
|
---|
124 | <wsdl:part name="part" element="tns1:doPresentReturn"/>
|
---|
125 | </wsdl:message>
|
---|
126 | <wsdl:portType name="Discovery">
|
---|
127 | <wsdl:operation name="doFullTextSearch">
|
---|
128 | <wsdl:input name="doFullTextSearchRequest" message="tns1:doFullTextSearchRequest"/>
|
---|
129 | <wsdl:output name="doFullTextSearchResponse" message="tns1:doFullTextSearchResponse"/>
|
---|
130 | </wsdl:operation>
|
---|
131 | <wsdl:operation name="doAuthorSearch">
|
---|
132 | <wsdl:input name="doAuthorSearchRequest" message="tns1:doAuthorSearchRequest"/>
|
---|
133 | <wsdl:output name="doAuthorSearchResponse" message="tns1:doAuthorSearchResponse"/>
|
---|
134 | </wsdl:operation>
|
---|
135 | <wsdl:operation name="doParameterSearch">
|
---|
136 | <wsdl:input name="doParameterSearchRequest" message="tns1:doParameterSearchRequest"/>
|
---|
137 | <wsdl:output name="doParameterSearchResponse" message="tns1:doParameterSearchResponse"/>
|
---|
138 | </wsdl:operation>
|
---|
139 | <wsdl:operation name="doPresent">
|
---|
140 | <wsdl:input name="doPresentRequest" message="tns1:doPresentRequest"/>
|
---|
141 | <wsdl:output name="doPresentResponse" message="tns1:doPresentResponse"/>
|
---|
142 | </wsdl:operation>
|
---|
143 | </wsdl:portType>
|
---|
144 | <wsdl:binding name="DiscoverySoapBinding" type="tns1:Discovery">
|
---|
145 | <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
---|
146 | <wsdl:operation name="doFullTextSearch">
|
---|
147 | <wsdlsoap:operation/>
|
---|
148 | <wsdl:input>
|
---|
149 | <wsdlsoap:body use="literal"/>
|
---|
150 | </wsdl:input>
|
---|
151 | <wsdl:output>
|
---|
152 | <wsdlsoap:body use="literal"/>
|
---|
153 | </wsdl:output>
|
---|
154 | </wsdl:operation>
|
---|
155 | <wsdl:operation name="doAuthorSearch">
|
---|
156 | <wsdlsoap:operation/>
|
---|
157 | <wsdl:input>
|
---|
158 | <wsdlsoap:body use="literal"/>
|
---|
159 | </wsdl:input>
|
---|
160 | <wsdl:output>
|
---|
161 | <wsdlsoap:body use="literal"/>
|
---|
162 | </wsdl:output>
|
---|
163 | </wsdl:operation>
|
---|
164 | <wsdl:operation name="doParameterSearch">
|
---|
165 | <wsdlsoap:operation/>
|
---|
166 | <wsdl:input>
|
---|
167 | <wsdlsoap:body use="literal"/>
|
---|
168 | </wsdl:input>
|
---|
169 | <wsdl:output>
|
---|
170 | <wsdlsoap:body use="literal"/>
|
---|
171 | </wsdl:output>
|
---|
172 | </wsdl:operation>
|
---|
173 | <wsdl:operation name="doPresent">
|
---|
174 | <wsdlsoap:operation/>
|
---|
175 | <wsdl:input>
|
---|
176 | <wsdlsoap:body use="literal"/>
|
---|
177 | </wsdl:input>
|
---|
178 | <wsdl:output>
|
---|
179 | <wsdlsoap:body use="literal"/>
|
---|
180 | </wsdl:output>
|
---|
181 | </wsdl:operation>
|
---|
182 | </wsdl:binding>
|
---|
183 | <wsdl:service name="DiscoveryService">
|
---|
184 | <wsdl:port name="Discovery" binding="tns1:DiscoverySoapBinding">
|
---|
185 | <wsdlsoap:address location="http://glue.badc.rl.ac.uk/axis2/services/DiscoveryService"/>
|
---|
186 | </wsdl:port>
|
---|
187 | </wsdl:service>
|
---|
188 | </wsdl:definitions>
|
---|