<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_DocumentoLegal"
  targetNamespace="https://gateway.comunidesk.com/soap"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:tns="https://gateway.comunidesk.com/soap"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <types>
    <xsd:schema targetNamespace="https://gateway.comunidesk.com/soap" elementFormDefault="qualified">
      <xsd:complexType name="DocumentoLegal"><xsd:sequence><xsd:element name="_id" type="xsd:string" minOccurs="0"/><xsd:element name="type" type="xsd:string" minOccurs="0"/><xsd:element name="edificioId" type="xsd:string" minOccurs="1"/><xsd:element name="titulo" type="xsd:string" minOccurs="1"/><xsd:element name="tipoDocumento" type="xsd:string" minOccurs="1"/><xsd:element name="fechaDocumento" type="xsd:string" minOccurs="1"/><xsd:element name="archivoUrl" type="xsd:string" minOccurs="0"/><xsd:element name="descripcion" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListDocumentoLegalRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListDocumentoLegalResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetDocumentoLegalRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetDocumentoLegalResponse"><part name="item" type="tns:DocumentoLegal"/></message>
  <message name="CreateDocumentoLegalRequest"><part name="body" type="tns:DocumentoLegal"/></message>
  <message name="CreateDocumentoLegalResponse"><part name="item" type="tns:DocumentoLegal"/></message>
  <message name="UpdateDocumentoLegalRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:DocumentoLegal"/></message>
  <message name="UpdateDocumentoLegalResponse"><part name="item" type="tns:DocumentoLegal"/></message>
  <message name="DeleteDocumentoLegalRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteDocumentoLegalResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_DocumentoLegalPortType">
    
    <operation name="ListDocumentoLegal">
      <documentation>Documentos legales — List</documentation>
      <input message="tns:ListDocumentoLegalRequest"/>
      <output message="tns:ListDocumentoLegalResponse"/>
    </operation>
    <operation name="GetDocumentoLegal">
      <documentation>Documentos legales — Get</documentation>
      <input message="tns:GetDocumentoLegalRequest"/>
      <output message="tns:GetDocumentoLegalResponse"/>
    </operation>
    <operation name="CreateDocumentoLegal">
      <documentation>Documentos legales — Create</documentation>
      <input message="tns:CreateDocumentoLegalRequest"/>
      <output message="tns:CreateDocumentoLegalResponse"/>
    </operation>
    <operation name="UpdateDocumentoLegal">
      <documentation>Documentos legales — Update</documentation>
      <input message="tns:UpdateDocumentoLegalRequest"/>
      <output message="tns:UpdateDocumentoLegalResponse"/>
    </operation>
    <operation name="DeleteDocumentoLegal">
      <documentation>Documentos legales — Delete</documentation>
      <input message="tns:DeleteDocumentoLegalRequest"/>
      <output message="tns:DeleteDocumentoLegalResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_DocumentoLegalBinding" type="tns:ComunideskSoap_DocumentoLegalPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListDocumentoLegal">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListDocumentoLegal"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetDocumentoLegal">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetDocumentoLegal"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateDocumentoLegal">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateDocumentoLegal"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateDocumentoLegal">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateDocumentoLegal"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteDocumentoLegal">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteDocumentoLegal"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_DocumentoLegalService">
    <documentation>Documentos legales del edificio.</documentation>
    <port name="ComunideskSoap_DocumentoLegalPort" binding="tns:ComunideskSoap_DocumentoLegalBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
