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 types -->
|
---|
7 | <xs:element name="doFullTextSearch" type="tns:FullTextSearchType"/>
|
---|
8 | <xs:element name="doPresent" type="tns:PresentType"/>
|
---|
9 | <!-- Response types -->
|
---|
10 | <xs:element name="doFullTextSearchReturn" type="tns:SearchReturnType"/>
|
---|
11 | <xs:element name="doPresentReturn" type="tns:PresentReturnType"/>
|
---|
12 | <!-- Define globals -->
|
---|
13 | <xs:complexType name="FullTextSearchType">
|
---|
14 | <xs:sequence>
|
---|
15 | <xs:element name="term" type="xs:string"/>
|
---|
16 | <xs:element name="start" type="xs:int" minOccurs="0"/>
|
---|
17 | <xs:element name="howMany" type="xs:int" minOccurs="0"/>
|
---|
18 | <xs:element name="orderBy" type="tns:orderByType" minOccurs="0"/>
|
---|
19 | </xs:sequence>
|
---|
20 | </xs:complexType>
|
---|
21 | <xs:complexType name="PresentType">
|
---|
22 | <xs:sequence>
|
---|
23 | <xs:element name="document" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
---|
24 | </xs:sequence>
|
---|
25 | </xs:complexType>
|
---|
26 | <xs:complexType name="PresentReturnType">
|
---|
27 | <xs:sequence>
|
---|
28 | <xs:element name="status" type="xs:boolean"/>
|
---|
29 | <xs:element name="statusMessage" type="xs:string"/>
|
---|
30 | <xs:element name="document" type="xs:string" minOccurs="0"/>
|
---|
31 | </xs:sequence>
|
---|
32 | </xs:complexType>
|
---|
33 | <xs:complexType name="SearchReturnType">
|
---|
34 | <xs:sequence>
|
---|
35 | <xs:element name="status" type="xs:boolean"/>
|
---|
36 | <xs:element name="statusMessage" type="xs:string"/>
|
---|
37 | <xs:element name="resultId" type="xs:int" minOccurs="0"/>
|
---|
38 | <xs:element name="hits" type="xs:int" minOccurs="0"/>
|
---|
39 | <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/>
|
---|
40 | </xs:sequence>
|
---|
41 | </xs:complexType>
|
---|
42 | <xs:complexType name="DocumentsType">
|
---|
43 | <xs:sequence>
|
---|
44 | <xs:element name="document" type="xs:string" maxOccurs="unbounded"/>
|
---|
45 | </xs:sequence>
|
---|
46 | </xs:complexType>
|
---|
47 | <xs:simpleType name="orderByType">
|
---|
48 | <xs:restriction base="xs:string">
|
---|
49 | <xs:enumeration value="date"/>
|
---|
50 | <xs:enumeration value="dataCentre"/>
|
---|
51 | </xs:restriction>
|
---|
52 | </xs:simpleType>
|
---|
53 | </xsd:schema>
|
---|
54 | </wsdl:types>
|
---|
55 | <wsdl:message name="doFullTextSearchRequest">
|
---|
56 | <wsdl:part name="part" element="tns1:doFullTextSearch"/>
|
---|
57 | </wsdl:message>
|
---|
58 | <wsdl:message name="doFullTextSearchResponse">
|
---|
59 | <wsdl:part name="part" element="tns1:doFullTextSearchReturn"/>
|
---|
60 | </wsdl:message>
|
---|
61 | <wsdl:message name="doPresentRequest">
|
---|
62 | <wsdl:part name="part" element="tns1:doPresent"/>
|
---|
63 | </wsdl:message>
|
---|
64 | <wsdl:message name="doPresentResponse">
|
---|
65 | <wsdl:part name="part" element="tns1:doPresentReturn"/>
|
---|
66 | </wsdl:message>
|
---|
67 | <wsdl:portType name="Discovery">
|
---|
68 | <wsdl:operation name="doFullTextSearch">
|
---|
69 | <wsdl:input name="doFullTextSearchRequest" message="tns1:doFullTextSearchRequest"/>
|
---|
70 | <wsdl:output name="doFullTextSearchResponse" message="tns1:doFullTextSearchResponse"/>
|
---|
71 | </wsdl:operation>
|
---|
72 | <wsdl:operation name="doPresent">
|
---|
73 | <wsdl:input name="doPresentRequest" message="tns1:doPresentRequest"/>
|
---|
74 | <wsdl:output name="doPresentResponse" message="tns1:doPresentResponse"/>
|
---|
75 | </wsdl:operation>
|
---|
76 | </wsdl:portType>
|
---|
77 | <wsdl:binding name="DiscoverySoapBinding" type="tns1:Discovery">
|
---|
78 | <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
---|
79 | <wsdl:operation name="doFullTextSearch">
|
---|
80 | <wsdlsoap:operation/>
|
---|
81 | <wsdl:input>
|
---|
82 | <wsdlsoap:body use="literal"/>
|
---|
83 | </wsdl:input>
|
---|
84 | <wsdl:output>
|
---|
85 | <wsdlsoap:body use="literal"/>
|
---|
86 | </wsdl:output>
|
---|
87 | </wsdl:operation>
|
---|
88 | <wsdl:operation name="doPresent">
|
---|
89 | <wsdlsoap:operation/>
|
---|
90 | <wsdl:input>
|
---|
91 | <wsdlsoap:body use="literal"/>
|
---|
92 | </wsdl:input>
|
---|
93 | <wsdl:output>
|
---|
94 | <wsdlsoap:body use="literal"/>
|
---|
95 | </wsdl:output>
|
---|
96 | </wsdl:operation>
|
---|
97 | </wsdl:binding>
|
---|
98 | <wsdl:service name="DiscoveryService">
|
---|
99 | <wsdl:port name="Discovery" binding="tns1:DiscoverySoapBinding">
|
---|
100 | <wsdlsoap:address location="http://sstdwmjp.neodc.rl.ac.uk:8080/axis2/services/DiscoveryService2"/>
|
---|
101 | </wsdl:port>
|
---|
102 | </wsdl:service>
|
---|
103 | </wsdl:definitions>
|
---|