<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://01792.org/WebServices/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://01792.org/WebServices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter a UK postcode, this will return a longitude and lattitude of the area.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://01792.org/WebServices/">
      <s:element name="cordFromPostCode">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="postcode" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="cordFromPostCodeResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="cordFromPostCodeResult" type="tns:coord" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="coord">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="lat" type="s:double" />
          <s:element minOccurs="1" maxOccurs="1" name="lng" type="s:double" />
        </s:sequence>
      </s:complexType>
      <s:element name="coord" type="tns:coord" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="cordFromPostCodeSoapIn">
    <wsdl:part name="parameters" element="tns:cordFromPostCode" />
  </wsdl:message>
  <wsdl:message name="cordFromPostCodeSoapOut">
    <wsdl:part name="parameters" element="tns:cordFromPostCodeResponse" />
  </wsdl:message>
  <wsdl:message name="cordFromPostCodeHttpGetIn">
    <wsdl:part name="postcode" type="s:string" />
  </wsdl:message>
  <wsdl:message name="cordFromPostCodeHttpGetOut">
    <wsdl:part name="Body" element="tns:coord" />
  </wsdl:message>
  <wsdl:message name="cordFromPostCodeHttpPostIn">
    <wsdl:part name="postcode" type="s:string" />
  </wsdl:message>
  <wsdl:message name="cordFromPostCodeHttpPostOut">
    <wsdl:part name="Body" element="tns:coord" />
  </wsdl:message>
  <wsdl:portType name="PCtoLongLatSoap">
    <wsdl:operation name="cordFromPostCode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter you postcode prefix and this will return a Long and Lat coordinates</wsdl:documentation>
      <wsdl:input message="tns:cordFromPostCodeSoapIn" />
      <wsdl:output message="tns:cordFromPostCodeSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="PCtoLongLatHttpGet">
    <wsdl:operation name="cordFromPostCode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter you postcode prefix and this will return a Long and Lat coordinates</wsdl:documentation>
      <wsdl:input message="tns:cordFromPostCodeHttpGetIn" />
      <wsdl:output message="tns:cordFromPostCodeHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="PCtoLongLatHttpPost">
    <wsdl:operation name="cordFromPostCode">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter you postcode prefix and this will return a Long and Lat coordinates</wsdl:documentation>
      <wsdl:input message="tns:cordFromPostCodeHttpPostIn" />
      <wsdl:output message="tns:cordFromPostCodeHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="PCtoLongLatSoap" type="tns:PCtoLongLatSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="cordFromPostCode">
      <soap:operation soapAction="http://01792.org/WebServices/cordFromPostCode" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PCtoLongLatSoap12" type="tns:PCtoLongLatSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="cordFromPostCode">
      <soap12:operation soapAction="http://01792.org/WebServices/cordFromPostCode" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PCtoLongLatHttpGet" type="tns:PCtoLongLatHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="cordFromPostCode">
      <http:operation location="/cordFromPostCode" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="PCtoLongLatHttpPost" type="tns:PCtoLongLatHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="cordFromPostCode">
      <http:operation location="/cordFromPostCode" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PCtoLongLat">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Enter a UK postcode, this will return a longitude and lattitude of the area.</wsdl:documentation>
    <wsdl:port name="PCtoLongLatSoap" binding="tns:PCtoLongLatSoap">
      <soap:address location="http://01792.org/webservices/PCtoLongLat.asmx" />
    </wsdl:port>
    <wsdl:port name="PCtoLongLatSoap12" binding="tns:PCtoLongLatSoap12">
      <soap12:address location="http://01792.org/webservices/PCtoLongLat.asmx" />
    </wsdl:port>
    <wsdl:port name="PCtoLongLatHttpGet" binding="tns:PCtoLongLatHttpGet">
      <http:address location="http://01792.org/webservices/PCtoLongLat.asmx" />
    </wsdl:port>
    <wsdl:port name="PCtoLongLatHttpPost" binding="tns:PCtoLongLatHttpPost">
      <http:address location="http://01792.org/webservices/PCtoLongLat.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>