<?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://services.drawloop.com/" 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://services.drawloop.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://services.drawloop.com/">
      <s:element name="getJobStatus">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="jobId" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="getJobStatusResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="getJobStatusResult" type="tns:JobStatus" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="JobStatus">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="running" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="status" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="errorId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="errorMessage" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="convertAndCombine">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="documents" type="tns:ArrayOfDocument" />
            <s:element minOccurs="0" maxOccurs="1" name="urls" type="tns:ArrayOfConvertUrl" />
            <s:element minOccurs="0" maxOccurs="1" name="results" type="tns:ArrayOfConvertAndCombineFile" />
            <s:element minOccurs="0" maxOccurs="1" name="callbackUri" type="tns:CallbackUri" />
            <s:element minOccurs="0" maxOccurs="1" name="fillData" type="tns:ArrayOfData" />
            <s:element minOccurs="0" maxOccurs="1" name="outputOptions" type="tns:OutputOptions" />
            <s:element minOccurs="0" maxOccurs="1" name="copyTables" type="tns:ArrayOfCopyTable" />
            <s:element minOccurs="0" maxOccurs="1" name="copyRows" type="tns:ArrayOfCopyRow" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfDocument">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Document" nillable="true" type="tns:Document" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Document">
        <s:complexContent mixed="false">
          <s:extension base="tns:ConvertBase">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="body" type="s:base64Binary" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="ConvertBase">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="id" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ConvertUrl">
        <s:complexContent mixed="false">
          <s:extension base="tns:ConvertBase">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="url" type="s:string" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="ArrayOfConvertUrl">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="ConvertUrl" nillable="true" type="tns:ConvertUrl" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfConvertAndCombineFile">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="ConvertAndCombineFile" nillable="true" type="tns:ConvertAndCombineFile" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ConvertAndCombineFile">
        <s:complexContent mixed="false">
          <s:extension base="tns:CombineFileBase">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="sections" type="tns:ArrayOfConvertAndCombineSection" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="CombineFileBase">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfConvertAndCombineSection">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="ConvertAndCombineSection" nillable="true" type="tns:ConvertAndCombineSection" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ConvertAndCombineSection">
        <s:complexContent mixed="false">
          <s:extension base="tns:CombineSectionBase">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="fileId" type="s:string" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="CombineSectionBase">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="start" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="end" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="bookmark" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CallbackUri">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="uri" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="postParameters" type="tns:ArrayOfPostParameter" />
          <s:element minOccurs="1" maxOccurs="1" name="sendJobIdOnly" type="s:boolean" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfPostParameter">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="PostParameter" nillable="true" type="tns:PostParameter" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PostParameter">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfData">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Data" nillable="true" type="tns:Data" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Data">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="OutputOptions">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="outputOriginals" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="outputConverted" type="s:boolean" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfCopyTable">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="CopyTable" nillable="true" type="tns:CopyTable" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CopyTable">
        <s:complexContent mixed="false">
          <s:extension base="tns:CopyBase">
            <s:sequence>
              <s:element minOccurs="1" maxOccurs="1" name="numberOfTables" type="s:int" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="CopyBase">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="copyTag" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="fileId" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CopyRow">
        <s:complexContent mixed="false">
          <s:extension base="tns:CopyBase">
            <s:sequence>
              <s:element minOccurs="1" maxOccurs="1" name="numberOfRows" type="s:int" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="ArrayOfCopyRow">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="CopyRow" nillable="true" type="tns:CopyRow" />
        </s:sequence>
      </s:complexType>
      <s:element name="convertAndCombineResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="convertAndCombineResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="convert">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="convertTarget" type="tns:ConvertBase" />
            <s:element minOccurs="0" maxOccurs="1" name="callbackUri" type="tns:CallbackUri" />
            <s:element minOccurs="0" maxOccurs="1" name="fillData" type="tns:ArrayOfData" />
            <s:element minOccurs="1" maxOccurs="1" name="outputOriginal" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="copyTables" type="tns:ArrayOfCopyTable" />
            <s:element minOccurs="0" maxOccurs="1" name="copyRows" type="tns:ArrayOfCopyRow" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="convertResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="convertResult" type="tns:ConvertResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ConvertResult">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="jobId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="filename" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="errorId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="error" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="getJobResults">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="userId" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="jobId" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="getJobResultsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="getJobResultsResult" type="tns:ArrayOfAPIFile" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfAPIFile">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="APIFile" nillable="true" type="tns:APIFile" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="APIFile">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="body" type="s:base64Binary" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="getJobStatusSoapIn">
    <wsdl:part name="parameters" element="tns:getJobStatus" />
  </wsdl:message>
  <wsdl:message name="getJobStatusSoapOut">
    <wsdl:part name="parameters" element="tns:getJobStatusResponse" />
  </wsdl:message>
  <wsdl:message name="convertAndCombineSoapIn">
    <wsdl:part name="parameters" element="tns:convertAndCombine" />
  </wsdl:message>
  <wsdl:message name="convertAndCombineSoapOut">
    <wsdl:part name="parameters" element="tns:convertAndCombineResponse" />
  </wsdl:message>
  <wsdl:message name="convertSoapIn">
    <wsdl:part name="parameters" element="tns:convert" />
  </wsdl:message>
  <wsdl:message name="convertSoapOut">
    <wsdl:part name="parameters" element="tns:convertResponse" />
  </wsdl:message>
  <wsdl:message name="getJobResultsSoapIn">
    <wsdl:part name="parameters" element="tns:getJobResults" />
  </wsdl:message>
  <wsdl:message name="getJobResultsSoapOut">
    <wsdl:part name="parameters" element="tns:getJobResultsResponse" />
  </wsdl:message>
  <wsdl:portType name="ApiServiceSoap">
    <wsdl:operation name="getJobStatus">
      <wsdl:input message="tns:getJobStatusSoapIn" />
      <wsdl:output message="tns:getJobStatusSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="convertAndCombine">
      <wsdl:input message="tns:convertAndCombineSoapIn" />
      <wsdl:output message="tns:convertAndCombineSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="convert">
      <wsdl:input message="tns:convertSoapIn" />
      <wsdl:output message="tns:convertSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="getJobResults">
      <wsdl:input message="tns:getJobResultsSoapIn" />
      <wsdl:output message="tns:getJobResultsSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ApiServiceSoap" type="tns:ApiServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getJobStatus">
      <soap:operation soapAction="http://services.drawloop.com/getJobStatus" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="convertAndCombine">
      <soap:operation soapAction="http://services.drawloop.com/convertAndCombine" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="convert">
      <soap:operation soapAction="http://services.drawloop.com/convert" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getJobResults">
      <soap:operation soapAction="http://services.drawloop.com/getJobResults" 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="ApiServiceSoap12" type="tns:ApiServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getJobStatus">
      <soap12:operation soapAction="http://services.drawloop.com/getJobStatus" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="convertAndCombine">
      <soap12:operation soapAction="http://services.drawloop.com/convertAndCombine" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="convert">
      <soap12:operation soapAction="http://services.drawloop.com/convert" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getJobResults">
      <soap12:operation soapAction="http://services.drawloop.com/getJobResults" 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="ApiService">
    <wsdl:port name="ApiServiceSoap" binding="tns:ApiServiceSoap">
      <soap:address location="https://services.drawloop.com/api/3.0/soap" />
    </wsdl:port>
    <wsdl:port name="ApiServiceSoap12" binding="tns:ApiServiceSoap12">
      <soap12:address location="https://services.drawloop.com/api/3.0/soap" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>