<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="PAFService" targetNamespace="http://www.tecmailsol.com/TECWSAPI/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://www.tecmailsol.com/TECWSAPI/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:types>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
      <xs:element name="anyType" nillable="true" type="xs:anyType"/>
      <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
      <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
      <xs:element name="boolean" nillable="true" type="xs:boolean"/>
      <xs:element name="byte" nillable="true" type="xs:byte"/>
      <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
      <xs:element name="decimal" nillable="true" type="xs:decimal"/>
      <xs:element name="double" nillable="true" type="xs:double"/>
      <xs:element name="float" nillable="true" type="xs:float"/>
      <xs:element name="int" nillable="true" type="xs:int"/>
      <xs:element name="long" nillable="true" type="xs:long"/>
      <xs:element name="QName" nillable="true" type="xs:QName"/>
      <xs:element name="short" nillable="true" type="xs:short"/>
      <xs:element name="string" nillable="true" type="xs:string"/>
      <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
      <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
      <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
      <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
      <xs:element name="char" nillable="true" type="tns:char"/>
      <xs:simpleType name="char">
        <xs:restriction base="xs:int"/>
      </xs:simpleType>
      <xs:element name="duration" nillable="true" type="tns:duration"/>
      <xs:simpleType name="duration">
        <xs:restriction base="xs:duration">
          <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
          <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
          <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="guid" nillable="true" type="tns:guid"/>
      <xs:simpleType name="guid">
        <xs:restriction base="xs:string">
          <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:attribute name="FactoryType" type="xs:QName"/>
      <xs:attribute name="Id" type="xs:ID"/>
      <xs:attribute name="Ref" type="xs:IDREF"/>
    </xs:schema>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.MessageContracts.PAFService" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.MessageContracts.PAFService">
      <xs:import namespace="http://www.tecmailsol.com/TECWSAPI/"/>
      <xs:complexType name="GetPAFsResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="GetPAFsResponseDC" nillable="true" type="q1:GetPAFsResponse" xmlns:q1="http://www.tecmailsol.com/TECWSAPI/"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="GetPAFsResponse" nillable="true" type="tns:GetPAFsResponse"/>
    </xs:schema>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://www.tecmailsol.com/TECWSAPI/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.DataContracts"/>
      <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
      <xs:complexType name="GetPAFsResponse">
        <xs:complexContent mixed="false">
          <xs:extension base="q1:ServiceResponseBaseDC" xmlns:q1="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.DataContracts">
            <xs:sequence>
              <xs:element minOccurs="0" name="PAFs" nillable="true" type="tns:ArrayOfPAF"/>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="GetPAFsResponse" nillable="true" type="tns:GetPAFsResponse"/>
      <xs:complexType name="ArrayOfPAF">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="PAF" nillable="true" type="tns:PAF"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="ArrayOfPAF" nillable="true" type="tns:ArrayOfPAF"/>
      <xs:complexType name="PAF">
        <xs:sequence>
          <xs:element minOccurs="0" name="DocumentTitle" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="ExpDate" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="DocumentType" type="tns:DocumentType"/>
          <xs:element minOccurs="0" name="DocumentStatus" type="tns:DocumentStatus"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="PAF" nillable="true" type="tns:PAF"/>
      <xs:simpleType name="DocumentType">
        <xs:restriction base="xs:string">
          <xs:enumeration value="PAF18">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="PAF48">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="DocumentType" nillable="true" type="tns:DocumentType"/>
      <xs:simpleType name="DocumentStatus">
        <xs:restriction base="xs:string">
          <xs:enumeration value="Expired">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Validated">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Review">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Rejected">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Authorization">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="DocumentStatus" nillable="true" type="tns:DocumentStatus"/>
      <xs:element name="GetPAFsRequestMessage">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="GetPAFsRequest" nillable="true" type="tns:GetPAFsRequest"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="GetPAFsRequest">
        <xs:complexContent mixed="false">
          <xs:extension base="q2:ServiceRequestBaseDC" xmlns:q2="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.DataContracts">
            <xs:sequence/>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="GetPAFsRequest" nillable="true" type="tns:GetPAFsRequest"/>
      <xs:element name="GetPAFsResponseMessage">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="GetPAFsResponse" nillable="true" type="tns:GetPAFsResponse"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.DataContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/Tecsoft.TECWSAPI.DataContracts">
      <xs:complexType name="ServiceResponseBaseDC">
        <xs:sequence/>
      </xs:complexType>
      <xs:element name="ServiceResponseBaseDC" nillable="true" type="tns:ServiceResponseBaseDC"/>
      <xs:complexType name="ServiceRequestBaseDC">
        <xs:sequence/>
      </xs:complexType>
      <xs:element name="ServiceRequestBaseDC" nillable="true" type="tns:ServiceRequestBaseDC"/>
    </xs:schema>
  </wsdl:types>
  <wsdl:message name="GetPAFsRequest">
    <wsdl:part name="parameters" element="tns:GetPAFsRequestMessage"/>
  </wsdl:message>
  <wsdl:message name="GetPAFsResponse">
    <wsdl:part name="parameters" element="tns:GetPAFsResponseMessage"/>
  </wsdl:message>
  <wsdl:portType name="PAFService">
    <wsdl:documentation>
      &lt;summary&gt;&#xD;
      Interface for the PAFService.&#xD;
      &lt;/summary&gt;
    </wsdl:documentation>
    <wsdl:operation name="GetPAFs">
      <wsdl:documentation>
        &lt;summary&gt;&#xD;
        Gets a list of PAFs.&#xD;
        &lt;/summary&gt;
      </wsdl:documentation>
      <wsdl:input wsam:Action="http://www.tecmailsol.com/TECWSAPI/PAFService/GetPAFs" name="GetPAFsRequest" message="tns:GetPAFsRequest"/>
      <wsdl:output wsam:Action="http://www.tecmailsol.com/TECWSAPI/PAFService/GetPAFsResponse" name="GetPAFsResponse" message="tns:GetPAFsResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="Tecsoft.TECWSAPI.ServiceImplementation.PAFService" type="tns:PAFService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetPAFs">
      <soap:operation soapAction="http://www.tecmailsol.com/TECWSAPI/PAFService/GetPAFs" style="document"/>
      <wsdl:input name="GetPAFsRequest">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="GetPAFsResponse">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="PAFService">
    <wsdl:port name="Tecsoft.TECWSAPI.ServiceImplementation.PAFService" binding="tns:Tecsoft.TECWSAPI.ServiceImplementation.PAFService">
      <soap:address location="https://www.tecwsapps.com/PAFService.svc"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>