<?xml version="1.0" encoding="UTF-8"?>
<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="http://detalleiuni.iplantech.com.ar/webservice/service.php?wsdl"
                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
                xmlns="http://schemas.xmlsoap.org/wsdl/" 
                targetNamespace="http://detalleiuni.iplantech.com.ar/webservice/service.php?wsdl">
<types>

<xsd:schema targetNamespace="http://detalleiuni.iplantech.com.ar/webservice/service.php?wsdl">
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />

 <!-- Respuesta de tipo codigo / descripcion -->
 <xsd:complexType name="tipo_respuesta">
  <xsd:all>
   <xsd:element name="codigo" type="xsd:int"/>
   <xsd:element name="descripcion" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>

 <xsd:simpleType name="tipo_estado_suscripcion">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="AC"/>
      <xsd:enumeration value="IN"/>
    </xsd:restriction>
  </xsd:simpleType>
 <xsd:simpleType name="tipo_cliente">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Portal"/>
      <xsd:enumeration value="Tradicional"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>
</types>

<!-- MENSAJES -->

<!-- Mensajes de AddDetalle -->

<message name="AddDetalleRequest">
  <part name="nro_tenfold" type="xsd:string"/>
  <part name="linea" type="xsd:string"/>
  <part name="id_product_offering" type="xsd:int"/>
  <part name="razon_social" type="xsd:string"/>
  <part name="codigo_subscripcion" type="xsd:int"/>
  <part name="tiene_detalle" type="xsd:int"/>
  <part name="tipo_cliente" type="tns:tipo_cliente"/>
</message>
<message name="AddDetalleResponse">
  <part name="return" type="tns:tipo_respuesta" />
</message>
<!--Mensajes de DelDetalle -->
<message name="DelDetalleRequest">
  <part name="nro_tenfold" type="xsd:int"/>
  <part name="linea" type="xsd:string"/>
  <part name="id_product_offering" type="xsd:int"/>
  <part name="razon_social" type="xsd:string"/>
  <part name="codigo_subscripcion" type="xsd:int"/>
  <part name="estado_subscripcion" type="xsd:string"/>
  <part name="tipo_cliente" type="tns:tipo_cliente"/>
</message>
<message name="DelDetalleResponse">
  <part name="return" type="tns:tipo_respuesta" />
</message>

<!-- FIN MENSAJES -->
<!-- DEFINICION DE PORTYPE -->

<portType name="DetalleIUNI - ProvisioningPortType">
  <!-- PortType de AddDetalle -->
  <operation name="AddDetalle">
    <documentation>Agrega una Linea</documentation>
    <input message="tns:AddDetalleRequest"/>
    <output message="tns:AddDetalleResponse"/>
  </operation>
  <!-- PortType de DelDetalle -->
  <operation name="DelDetalle">
    <documentation>Elimina una Linea</documentation>
    <input message="tns:DelDetalleRequest"/>
    <output message="tns:DelDetalleResponse"/>
  </operation>
</portType>
<!-- BINDEO -->
<binding name="DetalleIUNI - ProvisioningBinding" type="tns:DetalleIUNI - ProvisioningPortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <!-- Bindeo de AddDetalle -->
  <operation name="AddDetalle">
    <soap:operation soapAction="http://detalleiuni-webservice.iplantech.com.ar/webservice/service.php?wsdl#AddDetalle" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://detalleiuni-webservice.iplantech.com.ar/test_server.php?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://detalleiuni-webservice.iplantech.com.ar/test_server.php?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <!-- Bindeo de DelDetalle -->
  <operation name="DelDetalle">
    <soap:operation soapAction="http://detalleiuni-webservice.iplantech.com.ar/webservice/service.php?wsdl#DelDetalle" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://detalleiuni-webservice.iplantech.com.ar/test_server.php?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://detalleiuni-webservice.iplantech.com.ar/test_server.php?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="DetalleIUNI - Provisioning">
  <port name="DetalleIUNI - ProvisioningPort" binding="tns:DetalleIUNI - ProvisioningBinding">
    <soap:address location="http://detalleiuni-webservice.iplantech.com.ar/service.php"/>
  </port>
</service>
</definitions>
