Changeset 1865
- Timestamp:
- 14/12/06 15:34:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery/trunk/ws-Discovery2/wsdl/Discovery.wsdl
r1819 r1865 4 4 <wsdl:types> 5 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> 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 <xs:element name="getListNames" nillable="true"/> 12 <xs:element name="getList" type="tns:getListType"/> 13 <!-- Response elements --> 14 <xs:element name="doAuthorSearchReturn" type="tns:SearchReturnType"/> 15 <xs:element name="doFullTextSearchReturn" type="tns:SearchReturnType"/> 16 <xs:element name="doParameterSearchReturn" type="tns:SearchReturnType"/> 17 <xs:element name="doPresentReturn" type="tns:PresentReturnType"/> 18 <xs:element name="getListNamesReturn" type="tns:getListNamesReturnType"/> 19 <xs:element name="getListReturn" type="tns:getListReturnType"/> 20 <!-- Request global types --> 21 <xs:complexType name="PresentType"> 22 <xs:sequence> 23 <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/> 24 <xs:element name="format" type="xs:string" minOccurs="0"/> 25 </xs:sequence> 26 </xs:complexType> 27 <xs:complexType name="SearchType"> 28 <xs:sequence> 29 <xs:element name="term" type="xs:string"/> 30 <xs:element name="start" type="xs:positiveInteger" minOccurs="0"/> 31 <xs:element name="howMany" type="xs:positiveInteger" minOccurs="0"/> 32 <xs:element name="orderBy" type="xs:string" minOccurs="0"/> 33 <xs:element name="orderByDirection" type="tns:orderByDirectionType" minOccurs="0"/> 34 <xs:element name="scope" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> 35 <xs:element name="BoundingBox" type="tns:BoundingBoxType" minOccurs="0"/> 36 <xs:element name="DateRange" type="tns:DateRangeType" minOccurs="0"/> 37 </xs:sequence> 38 </xs:complexType> 39 <xs:complexType name="getListType"> 40 <xs:sequence> 41 <xs:element name="listName" type="xs:string"/> 42 </xs:sequence> 43 </xs:complexType> 44 <!-- Response global types --> 45 <xs:complexType name="PresentReturnType"> 46 <xs:sequence> 47 <xs:element name="status" type="xs:boolean"/> 48 <xs:element name="statusMessage" type="xs:string"/> 49 <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/> 50 </xs:sequence> 51 </xs:complexType> 52 <xs:complexType name="SearchReturnType"> 53 <xs:sequence> 54 <xs:element name="status" type="xs:boolean"/> 55 <xs:element name="statusMessage" type="xs:string"/> 56 <xs:element name="resultId" type="xs:int" minOccurs="0"/> 57 <xs:element name="hits" type="xs:int" minOccurs="0"/> 58 <xs:element name="documents" type="tns:DocumentsType" minOccurs="0"/> 59 </xs:sequence> 60 </xs:complexType> 61 <xs:complexType name="getListNamesReturnType"> 62 <xs:sequence maxOccurs="unbounded"> 63 <xs:element name="listNames"> 64 <xs:complexType> 65 <xs:sequence> 66 <xs:element name="listName" type="xs:string" maxOccurs="unbounded"/> 67 </xs:sequence> 68 </xs:complexType> 69 </xs:element> 70 </xs:sequence> 71 </xs:complexType> 72 <xs:complexType name="getListReturnType"> 73 <xs:sequence> 74 <xs:element name="list" minOccurs="0"> 75 <xs:complexType> 76 <xs:sequence> 77 <xs:element name="listMember" type="xs:string" maxOccurs="unbounded"/> 78 </xs:sequence> 79 <xs:attribute name="name" type="xs:string" use="required"/> 80 </xs:complexType> 81 </xs:element> 82 </xs:sequence> 83 </xs:complexType> 84 <!-- Other global types--> 85 <xs:complexType name="BoundingBoxType"> 86 <xs:all> 87 <xs:element name="LimitNorth" type="xs:decimal"/> 88 <xs:element name="LimitSouth" type="xs:decimal"/> 89 <xs:element name="LimitWest" type="xs:decimal"/> 90 <xs:element name="LimitEast" type="xs:decimal"/> 91 </xs:all> 92 </xs:complexType> 93 <xs:complexType name="DateRangeType"> 94 <xs:all> 95 <xs:element name="DateRangeStart" type="xs:date"/> 96 <xs:element name="DateRangeEnd" type="xs:date"/> 97 </xs:all> 98 </xs:complexType> 99 <xs:complexType name="DocumentsType"> 100 <xs:sequence> 101 <xs:element name="document" type="xs:string" maxOccurs="unbounded"/> 102 </xs:sequence> 103 </xs:complexType> 104 <xs:simpleType name="orderByDirectionType"> 105 <xs:restriction base="xs:string"> 106 <xs:enumeration value="ascending"/> 107 <xs:enumeration value="descnding"/> 108 </xs:restriction> 109 </xs:simpleType> 100 110 </xsd:schema> 101 111 </wsdl:types> … … 109 119 <wsdl:part name="part" element="tns1:doAuthorSearch"/> 110 120 </wsdl:message> 121 <wsdl:message name="getListNamesRequest"> 122 <wsdl:part name="part" element="tns1:getListNames"/> 123 </wsdl:message> 124 <wsdl:message name="getListRequest"> 125 <wsdl:part name="part" element="tns1:getList"/> 126 </wsdl:message> 111 127 <wsdl:message name="doAuthorSearchResponse"> 112 128 <wsdl:part name="part" element="tns1:doAuthorSearchReturn"/> … … 123 139 <wsdl:message name="doPresentResponse"> 124 140 <wsdl:part name="part" element="tns1:doPresentReturn"/> 141 </wsdl:message> 142 <wsdl:message name="getListNamesResponse"> 143 <wsdl:part name="part" element="tns1:getListNamesReturn"/> 144 </wsdl:message> 145 <wsdl:message name="getListResponse"> 146 <wsdl:part name="part" element="tns1:getListReturn"/> 125 147 </wsdl:message> 126 148 <wsdl:portType name="Discovery"> … … 141 163 <wsdl:output name="doPresentResponse" message="tns1:doPresentResponse"/> 142 164 </wsdl:operation> 165 <wsdl:operation name="getListNames"> 166 <wsdl:input name="getListNamesRequest" message="tns1:getListNamesRequest"/> 167 <wsdl:output name="getListNamesResponse" message="tns1:getListNamesResponse"/> 168 </wsdl:operation> 169 <wsdl:operation name="getList"> 170 <wsdl:input name="getListRequest" message="tns1:getListRequest"/> 171 <wsdl:output name="getListResponse" message="tns1:getListResponse"/> 172 </wsdl:operation> 143 173 </wsdl:portType> 144 174 <wsdl:binding name="DiscoverySoapBinding" type="tns1:Discovery"> … … 172 202 </wsdl:operation> 173 203 <wsdl:operation name="doPresent"> 204 <wsdlsoap:operation/> 205 <wsdl:input> 206 <wsdlsoap:body use="literal"/> 207 </wsdl:input> 208 <wsdl:output> 209 <wsdlsoap:body use="literal"/> 210 </wsdl:output> 211 </wsdl:operation> 212 <wsdl:operation name="getListNames"> 213 <wsdlsoap:operation/> 214 <wsdl:input> 215 <wsdlsoap:body use="literal"/> 216 </wsdl:input> 217 <wsdl:output> 218 <wsdlsoap:body use="literal"/> 219 </wsdl:output> 220 </wsdl:operation> 221 <wsdl:operation name="getList"> 174 222 <wsdlsoap:operation/> 175 223 <wsdl:input>
Note: See TracChangeset
for help on using the changeset viewer.