<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://enyim.com/webservices/href/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://enyim.com/webservices/href/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://enyim.com/webservices/href/">
      <s:element name="CreateUrl">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="applicationId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="uri" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="expiration" type="tns:LinkExpiration" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:simpleType name="LinkExpiration">
        <s:restriction base="s:string">
          <s:enumeration value="Never" />
          <s:enumeration value="OneClick" />
          <s:enumeration value="OneHour" />
          <s:enumeration value="OneDay" />
          <s:enumeration value="OneWeek" />
          <s:enumeration value="OneMonth" />
        </s:restriction>
      </s:simpleType>
      <s:element name="CreateUrlResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="CreateUrlResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="CreateUrlSoapIn">
    <wsdl:part name="parameters" element="tns:CreateUrl" />
  </wsdl:message>
  <wsdl:message name="CreateUrlSoapOut">
    <wsdl:part name="parameters" element="tns:CreateUrlResponse" />
  </wsdl:message>
  <wsdl:portType name="HrefServiceSoap">
    <wsdl:operation name="CreateUrl">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
&lt;style&gt;
h4
	{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin-bottom: .4em; 
	margin-left: -18px;
	margin-top: 1em;
	font-weight: bold;
	font-size: 100%;
}

dl
	{
	margin-top: 0em; 
	padding-left: 1px; /* Prevents italic-letter descenders from being cut off */
	}
dd
	{
	margin-bottom: 0em;  
	margin-left: 1.5em; 
	}
dt
	{
	margin-top: .5em; 
	}

&lt;/style&gt;

&lt;p&gt;Creates a new short redirect url for the specified URI.&lt;/p&gt;
&lt;h4&gt;Parameters&lt;/h4&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;i&gt;applicationId&lt;/i&gt;&lt;/dt&gt;
&lt;dd&gt;The code you receive after registration&lt;/dd&gt;
&lt;dt&gt;&lt;i&gt;uri&lt;/i&gt;&lt;/dt&gt;
&lt;dd&gt;The URI to be converted to a short form.&lt;/dd&gt;
&lt;dt&gt;&lt;i&gt;expiration&lt;/i&gt;&lt;/dt&gt;
&lt;dd&gt;The life-time of the resulted redirect url.&lt;/dd&gt;
&lt;/dl&gt;
</wsdl:documentation>
      <wsdl:input message="tns:CreateUrlSoapIn" />
      <wsdl:output message="tns:CreateUrlSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HrefServiceSoap" type="tns:HrefServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="CreateUrl">
      <soap:operation soapAction="http://enyim.com/webservices/href/CreateUrl" 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="HrefServiceSoap12" type="tns:HrefServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="CreateUrl">
      <soap12:operation soapAction="http://enyim.com/webservices/href/CreateUrl" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HrefService">
    <wsdl:port name="HrefServiceSoap" binding="tns:HrefServiceSoap">
      <soap:address location="http://href.hu/HrefService.asmx" />
    </wsdl:port>
    <wsdl:port name="HrefServiceSoap12" binding="tns:HrefServiceSoap12">
      <soap12:address location="http://href.hu/HrefService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>