<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://gazetteer/v1.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://gazetteer/v1.0">
<types>
<xsd:schema targetNamespace="http://gazetteer/v1.0"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="gazetteerRecord">
  <xsd:all>
   <xsd:element name="MRGID" type="xsd:int"/>
   <xsd:element name="preferredGazetteerName" type="xsd:string"/>
   <xsd:element name="preferredGazetteerNameLang" type="xsd:string"/>
   <xsd:element name="placeType" type="xsd:string"/>
   <xsd:element name="latitude" type="xsd:string"/>
   <xsd:element name="longitude" type="xsd:string"/>
   <xsd:element name="minLatitude" type="xsd:string"/>
   <xsd:element name="maxLatitude" type="xsd:string"/>
   <xsd:element name="minLongitude" type="xsd:string"/>
   <xsd:element name="maxLongitude" type="xsd:string"/>
   <xsd:element name="precision" type="xsd:string"/>
   <xsd:element name="gazetteerSource" type="xsd:string"/>
   <xsd:element name="status" type="xsd:string"/>
   <xsd:element name="accepted" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="gazetteerRecords">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerRecord[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerMatches">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerRecords[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerNames">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerRelation">
  <xsd:all>
   <xsd:element name="firstMRGID" type="xsd:int"/>
   <xsd:element name="secondMRGID" type="xsd:int"/>
   <xsd:element name="relationType" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="gazetteerRelations">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerRelation[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerSource">
  <xsd:all>
   <xsd:element name="source" type="xsd:string"/>
   <xsd:element name="sourceURL" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="gazetteerSources">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerSource[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerType">
  <xsd:all>
   <xsd:element name="typeID" type="xsd:int"/>
   <xsd:element name="type" type="xsd:string"/>
   <xsd:element name="description" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="gazetteerTypes">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerType[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="gazetteerWMS">
  <xsd:all>
   <xsd:element name="MRGID" type="xsd:int"/>
   <xsd:element name="url" type="xsd:string"/>
   <xsd:element name="value" type="xsd:string"/>
   <xsd:element name="namespace" type="xsd:string"/>
   <xsd:element name="featureName" type="xsd:string"/>
   <xsd:element name="featureType" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="gazetteerWMSes">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:gazetteerWMS[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="getGazetteerRecordsByName">
  <part name="GazetteerName" type="xsd:string" />
  <part name="like" type="xsd:boolean" />
  <part name="fuzzy" type="xsd:boolean" />
  <part name="typeID" type="xsd:int" />
  <part name="language" type="xsd:string" />
  <part name="offset" type="xsd:int" />
  <part name="count" type="xsd:int" /></message>
<message name="getGazetteerRecordsByNameResponse">
  <part name="return" type="tns:gazetteerRecords" /></message>
<message name="getGazetteerRecordsByNames">
  <part name="gazetteerNames" type="tns:gazetteerNames" />
  <part name="like" type="xsd:boolean" />
  <part name="fuzzy" type="xsd:boolean" /></message>
<message name="getGazetteerRecordsByNamesResponse">
  <part name="return" type="tns:gazetteerMatches" /></message>
<message name="getGazetteerRecordsBySource">
  <part name="gazetteerSource" type="xsd:string" /></message>
<message name="getGazetteerRecordsBySourceResponse">
  <part name="return" type="tns:gazetteerRecords" /></message>
<message name="getGazetteerRecordsByType">
  <part name="gazetteerType" type="xsd:string" />
  <part name="offset" type="xsd:int" /></message>
<message name="getGazetteerRecordsByTypeResponse">
  <part name="return" type="tns:gazetteerRecords" /></message>
<message name="getGazetteerRecordByMRGID">
  <part name="MRGID" type="xsd:int" /></message>
<message name="getGazetteerRecordByMRGIDResponse">
  <part name="return" type="tns:gazetteerRecord" /></message>
<message name="getGazetteerRelationsByMRGID">
  <part name="MRGID" type="xsd:int" />
  <part name="direction" type="xsd:string" />
  <part name="type" type="xsd:string" /></message>
<message name="getGazetteerRelationsByMRGIDResponse">
  <part name="return" type="tns:gazetteerRelations" /></message>
<message name="getGazetteerWMSes">
  <part name="MRGID" type="xsd:int" /></message>
<message name="getGazetteerWMSesResponse">
  <part name="return" type="tns:gazetteerWMSes" /></message>
<message name="getGazetteerRecordsByLatLong">
  <part name="Latitude" type="xsd:float" />
  <part name="Longitude" type="xsd:float" />
  <part name="typeID" type="xsd:int" />
  <part name="offset" type="xsd:int" /></message>
<message name="getGazetteerRecordsByLatLongResponse">
  <part name="return" type="tns:gazetteerRecord" /></message>
<message name="getGazetteerTypes"></message>
<message name="getGazetteerTypesResponse">
  <part name="return" type="tns:gazetteerTypes" /></message>
<message name="getGazetteerSources"></message>
<message name="getGazetteerSourcesResponse">
  <part name="return" type="tns:gazetteerSources" /></message>
<message name="getGazetteerNamesByMRGID">
  <part name="MRGID" type="xsd:int" /></message>
<message name="getGazetteerNamesByMRGIDResponse">
  <part name="return" type="tns:gazetteerNames" /></message>
<portType name="GazetteerServicePortType">
  <operation name="getGazetteerRecordsByName">
    <documentation>&lt;strong&gt;Get one or more matching (max. 100) gazetteer records for a given name.&lt;br/&gt;Parameters:
   &lt;ul&gt;
	&lt;li&gt;&lt;u&gt;GazetteerName&lt;/u&gt;: example : north sea. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;u&gt;like&lt;/u&gt;: adds a &#039;%&#039;-sign before and after the GazetteerName (SQL LIKE function). Default=true&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;fuzzy&lt;/u&gt;: Uses Levenshtein query to find nearest matches. Default=false&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;typeID&lt;/u&gt;: Placetype ID, as returned from &lt;i&gt;getGazetteerTypes()&lt;/i&gt; Default=(empty)&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;language&lt;/u&gt;: language (ISO 639-1 code). Default=(empty)&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;offset&lt;/u&gt;: start record number, in order to page through next batch of results. Default=0&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;count&lt;/u&gt;: number of records to retrieve. Default=100; max=100&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordsByName"/>
    <output message="tns:getGazetteerRecordsByNameResponse"/>
  </operation>
  <operation name="getGazetteerRecordsByNames">
    <documentation>&lt;strong&gt;For each given gazetteer name, try to find one or more GazetteerRecords (max. 100).&lt;br/&gt;
  This allows you to match multiple names in one call. Limited to 500 names at once for performance reasons.
  &lt;br/&gt;Parameters:
   &lt;ul&gt;
    &lt;li&gt;&lt;u&gt;GazetteerNames&lt;/u&gt;: example : array(&quot;north sea&quot;,&quot;caspian sea&quot;,&quot;indian sea&quot;). &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
    &lt;li&gt;&lt;u&gt;like&lt;/u&gt;: adds a &#039;%&#039;-sign before and after the GazetteerName (SQL LIKE function). Default=true.&lt;/li&gt;
	&lt;li&gt;&lt;u&gt;fuzzy&lt;/u&gt;: Uses Levenshtein query to find nearest matches. Default=false.&lt;/li&gt;
   &lt;/ul&gt;&lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordsByNames"/>
    <output message="tns:getGazetteerRecordsByNamesResponse"/>
  </operation>
  <operation name="getGazetteerRecordsBySource">
    <documentation>&lt;strong&gt;Get the first 100 matching gazetteer Records for a given source&lt;br/&gt;
   &lt;ul&gt;
    &lt;li&gt;&lt;u&gt;GazetteerSource&lt;/u&gt;: example : 1800 serie. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordsBySource"/>
    <output message="tns:getGazetteerRecordsBySourceResponse"/>
  </operation>
  <operation name="getGazetteerRecordsByType">
    <documentation>&lt;strong&gt;Get the first 100 matching gazetteer Records for a given type.&lt;br/&gt;
   &lt;ul&gt;
    &lt;li&gt;&lt;u&gt;GazetteerType&lt;/u&gt;: example : Valley. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
   &lt;/ul&gt;
  &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordsByType"/>
    <output message="tns:getGazetteerRecordsByTypeResponse"/>
  </operation>
  <operation name="getGazetteerRecordByMRGID">
    <documentation>&lt;strong&gt;Get one gazetteer record for the given MRGID
   &lt;ul&gt;
    &lt;li&gt;&lt;u&gt;MRGID&lt;/u&gt;: example : 3293. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
   &lt;/ul&gt;
 &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordByMRGID"/>
    <output message="tns:getGazetteerRecordByMRGIDResponse"/>
  </operation>
  <operation name="getGazetteerRelationsByMRGID">
    <documentation>&lt;strong&gt;Get the first 100 relationships for the given MRGID. &lt;br /&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;u&gt;MRGID&lt;/u&gt;: example : 3293. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
		&lt;li&gt;&lt;u&gt;direction&lt;/u&gt;: options : upper, lower or both. Default=upper&lt;/li&gt;
		&lt;li&gt;&lt;u&gt;type&lt;/u&gt;: options: &#039;partof&#039;, &#039;partlypartof&#039;, &#039;adjacentto&#039;, &#039;similarto&#039;, &#039;administrativepartof&#039;, &#039;influencedby&#039; or &#039;all&#039;. Default=&#039;partof&#039;&lt;/li&gt;
	&lt;/ul&gt;
 &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRelationsByMRGID"/>
    <output message="tns:getGazetteerRelationsByMRGIDResponse"/>
  </operation>
  <operation name="getGazetteerWMSes">
    <documentation>&lt;strong&gt;Get URL of the WMS server, namespace , value, featureType and featureName&lt;br /&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;u&gt;MRGID&lt;/u&gt;: example : 3293. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
	&lt;/ul&gt;
 &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerWMSes"/>
    <output message="tns:getGazetteerWMSesResponse"/>
  </operation>
  <operation name="getGazetteerRecordsByLatLong">
    <documentation>&lt;strong&gt;Get the first 100 gazetteer records within the borders of the provided Latitude and Longitude &lt;br /&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;u&gt;Latitude&lt;/u&gt;: Give the Latitude (-90 -&gt; +90)&lt;/li&gt;
		&lt;li&gt;&lt;u&gt;Longitude&lt;/u&gt;: Give the Longitude (-180 -&gt; +180)&lt;/li&gt;
		&lt;li&gt;&lt;u&gt;typeID&lt;/u&gt;: One or more placetypeIDs. See function getGazetteerTypes() to retrieve a list of placetypeIDs. Default=(empty)&lt;/li&gt;
		&lt;li&gt;&lt;u&gt;offset&lt;/u&gt;: Offset to return next batch of 100 records. Default=0&lt;/li&gt;
	&lt;/ul&gt;

 &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerRecordsByLatLong"/>
    <output message="tns:getGazetteerRecordsByLatLongResponse"/>
  </operation>
  <operation name="getGazetteerTypes">
    <documentation>&lt;strong&gt;Return all the possible Types &lt;br /&gt;&lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerTypes"/>
    <output message="tns:getGazetteerTypesResponse"/>
  </operation>
  <operation name="getGazetteerSources">
    <documentation>&lt;strong&gt;Get the first 100 source records&lt;br /&gt;&lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerSources"/>
    <output message="tns:getGazetteerSourcesResponse"/>
  </operation>
  <operation name="getGazetteerNamesByMRGID">
    <documentation>&lt;strong&gt;Get the first 100 names for the given MRGID
	&lt;ul&gt;
		&lt;li&gt;&lt;u&gt;MRGID&lt;/u&gt;: example : 3293. &lt;i&gt;required&lt;/i&gt;&lt;/li&gt;
	&lt;/ul&gt;
 &lt;/strong&gt;</documentation>
    <input message="tns:getGazetteerNamesByMRGID"/>
    <output message="tns:getGazetteerNamesByMRGIDResponse"/>
  </operation>
</portType>
<binding name="GazetteerServiceBinding" type="tns:GazetteerServicePortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="getGazetteerRecordsByName">
    <soap:operation soapAction="getGazetteerRecordsByName" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRecordsByNames">
    <soap:operation soapAction="getGazetteerRecordsByNames" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerMatches" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerMatches" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRecordsBySource">
    <soap:operation soapAction="getGazetteerRecordsBySource" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRecordsByType">
    <soap:operation soapAction="getGazetteerRecordsByType" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecords" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRecordByMRGID">
    <soap:operation soapAction="getGazetteerRecordByMRGID" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecord" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecord" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRelationsByMRGID">
    <soap:operation soapAction="getGazetteerRelationsByMRGID" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRelations" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRelations" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerWMSes">
    <soap:operation soapAction="getGazetteerWMSes" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerWMSes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerWMSes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerRecordsByLatLong">
    <soap:operation soapAction="getGazetteerRecordsByLatLong" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecord" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerRecord" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerTypes">
    <soap:operation soapAction="getGazetteerTypes" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerTypes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerTypes" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerSources">
    <soap:operation soapAction="getGazetteerSources" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerSources" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerSources" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="getGazetteerNamesByMRGID">
    <soap:operation soapAction="getGazetteerNamesByMRGID" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerNames" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://gazetteer/v1.0/gazetteerNames" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="GazetteerService">
  <port name="GazetteerServicePort" binding="tns:GazetteerServiceBinding">
    <soap:address location="https://www.marineregions.org/gazetteer.php?p=soap"/>
  </port>
</service>
</definitions>