<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_Comunicacion"
  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="Comunicacion"><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="asunto" type="xsd:string" minOccurs="1"/><xsd:element name="cuerpo" type="xsd:string" minOccurs="1"/><xsd:element name="canal" type="xsd:string" minOccurs="0"/><xsd:element name="destinatarios" type="xsd:string" minOccurs="0"/><xsd:element name="fechaEnvio" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListComunicacionRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListComunicacionResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetComunicacionRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetComunicacionResponse"><part name="item" type="tns:Comunicacion"/></message>
  <message name="CreateComunicacionRequest"><part name="body" type="tns:Comunicacion"/></message>
  <message name="CreateComunicacionResponse"><part name="item" type="tns:Comunicacion"/></message>
  <message name="UpdateComunicacionRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:Comunicacion"/></message>
  <message name="UpdateComunicacionResponse"><part name="item" type="tns:Comunicacion"/></message>
  <message name="DeleteComunicacionRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteComunicacionResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_ComunicacionPortType">
    
    <operation name="ListComunicacion">
      <documentation>Comunicaciones — List</documentation>
      <input message="tns:ListComunicacionRequest"/>
      <output message="tns:ListComunicacionResponse"/>
    </operation>
    <operation name="GetComunicacion">
      <documentation>Comunicaciones — Get</documentation>
      <input message="tns:GetComunicacionRequest"/>
      <output message="tns:GetComunicacionResponse"/>
    </operation>
    <operation name="CreateComunicacion">
      <documentation>Comunicaciones — Create</documentation>
      <input message="tns:CreateComunicacionRequest"/>
      <output message="tns:CreateComunicacionResponse"/>
    </operation>
    <operation name="UpdateComunicacion">
      <documentation>Comunicaciones — Update</documentation>
      <input message="tns:UpdateComunicacionRequest"/>
      <output message="tns:UpdateComunicacionResponse"/>
    </operation>
    <operation name="DeleteComunicacion">
      <documentation>Comunicaciones — Delete</documentation>
      <input message="tns:DeleteComunicacionRequest"/>
      <output message="tns:DeleteComunicacionResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_ComunicacionBinding" type="tns:ComunideskSoap_ComunicacionPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListComunicacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListComunicacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetComunicacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetComunicacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateComunicacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateComunicacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateComunicacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateComunicacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteComunicacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteComunicacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_ComunicacionService">
    <documentation>Comunicaciones enviadas a residentes.</documentation>
    <port name="ComunideskSoap_ComunicacionPort" binding="tns:ComunideskSoap_ComunicacionBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
