<?xml version="1.0" encoding="ISO-8859-1"?>
<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="https://api.maxsignatures.com/MdDigitalSignatureGetMDWorkflowsApi.php" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="https://api.maxsignatures.com/MdDigitalSignatureGetMDWorkflowsApi.php">
<types>
<xsd:schema targetNamespace="https://api.maxsignatures.com/MdDigitalSignatureGetMDWorkflowsApi.php"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="AccountType">
  <xsd:all>
   <xsd:element name="username" type="xsd:string"/>
   <xsd:element name="password" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="DocumentType">
  <xsd:all>
   <xsd:element name="data" type="xsd:string"/>
   <xsd:element name="mimeType" type="xsd:string"/>
   <xsd:element name="documentName" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="DocumentListType">
  <xsd:sequence>
   <xsd:element name="__SEQUENCE_KEY__" type="tns:DocumentType" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
 <xsd:complexType name="SignerType">
  <xsd:all>
   <xsd:element name="signerName" type="xsd:string"/>
   <xsd:element name="signerEmail" type="xsd:string"/>
   <xsd:element name="signerIndex" type="xsd:int"/>
   <xsd:element name="isSigned" type="xsd:boolean"/>
   <xsd:element name="comment" type="xsd:string"/>
   <xsd:element name="updatedTs" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="SignerListType">
  <xsd:sequence>
   <xsd:element name="__SEQUENCE_KEY__" type="tns:SignerType" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
 <xsd:complexType name="MDWorkflowType">
  <xsd:all>
   <xsd:element name="workflowId" type="xsd:int"/>
   <xsd:element name="documents" type="tns:DocumentListType"/>
   <xsd:element name="signers" type="tns:SignerListType"/>
   <xsd:element name="comment" type="xsd:string"/>
   <xsd:element name="signerIndex" type="xsd:int"/>
   <xsd:element name="isPublic" type="xsd:boolean"/>
   <xsd:element name="isActive" type="xsd:boolean"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="MDWorkflowListType">
  <xsd:sequence>
   <xsd:element name="__SEQUENCE_KEY__" type="tns:MDWorkflowType" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
 <xsd:complexType name="getMDWorkflowsRequestType">
  <xsd:all>
   <xsd:element name="accountInfo" type="tns:AccountType"/>
   <xsd:element name="activeOnly" type="xsd:boolean"/>
   <xsd:element name="getById" type="xsd:boolean"/>
   <xsd:element name="workflowId" type="xsd:int"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="getMDWorkflowsResponseType">
  <xsd:all>
   <xsd:element name="code" type="xsd:string"/>
   <xsd:element name="message" type="xsd:string"/>
   <xsd:element name="workflows" type="tns:MDWorkflowListType"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="getMDWorkflowsRequest">
  <part name="getMDWFsRequest" type="tns:getMDWorkflowsRequestType" /></message>
<message name="getMDWorkflowsResponse">
  <part name="return" type="tns:getMDWorkflowsResponseType" /></message>
<portType name="MdDigitalSignatureGetMDWorkflowsApiPortType">
  <operation name="getMDWorkflows">
    <input message="tns:getMDWorkflowsRequest"/>
    <output message="tns:getMDWorkflowsResponse"/>
  </operation>
</portType>
<binding name="MdDigitalSignatureGetMDWorkflowsApiBinding" type="tns:MdDigitalSignatureGetMDWorkflowsApiPortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="getMDWorkflows">
    <soap:operation soapAction="https://api.maxsignatures.com/MdDigitalSignatureGetMDWorkflowsApi.php/getMDWorkflows" style="rpc"/>
    <input><soap:body namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="MdDigitalSignatureGetMDWorkflowsApi">
  <port name="MdDigitalSignatureGetMDWorkflowsApiPort" binding="tns:MdDigitalSignatureGetMDWorkflowsApiBinding">
    <soap:address location="https://api.maxsignatures.com:443/MdDigitalSignatureGetMDWorkflowsApi.php"/>
  </port>
</service>
</definitions>