<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
                  xmlns:tns="https://autogestion.dibox.com.ar/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                  xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
                  targetNamespace="https://autogestion.dibox.com.ar/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="https://autogestion.dibox.com.ar/">
            <s:element name="authorization_endpoint">
                <s:complexType>
                    <s:sequence>
                        <s:element minOccurs="1" maxOccurs="1" name="subscriber_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="country_code" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="resource_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="action_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="ip_address" type="s:string" /> 
                   </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="hbo">
                <s:complexType>
                    <s:sequence>
                        <s:element minOccurs="1" maxOccurs="1" name="subscriber_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="country_code" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="resource_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="action_id" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="ip_address" type="s:string" /> 
                   </s:sequence>
                </s:complexType>
            </s:element>
            <s:complexType name="authorization_request_base">
                <s:sequence>
                </s:sequence>
            </s:complexType>
            <s:element name="authorization_endpointResponse_hbo">
                <s:complexType>
                    <s:sequence>
                        <s:element minOccurs="1" maxOccurs="1" name="access" type="s:boolean" />
                        <s:element minOccurs="1" maxOccurs="1" name="max_rating" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="ttl" type="s:int" />
                        <s:element minOccurs="1" maxOccurs="unbounded" name="canales" type="s:string" />
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="authorization_endpointResponse">
                <s:complexType>
                    <s:sequence>
                        <s:element minOccurs="1" maxOccurs="1" name="access" type="s:boolean" />
                        <s:element minOccurs="1" maxOccurs="1" name="max_rating" type="s:string" />
                        <s:element minOccurs="1" maxOccurs="1" name="ttl" type="s:int" />
                    </s:sequence>
                </s:complexType>
            </s:element>
            <s:element name="AuthHeader" type="tns:AuthHeader" />
            <s:complexType name="AuthHeader">
                <s:sequence>
                    <s:element minOccurs="0" maxOccurs="1" name="api_key" type="s:string" />
                </s:sequence>
                <s:anyAttribute />
            </s:complexType>
        </s:schema>
    </wsdl:types>
    <wsdl:message name="authorization_endpoint_SoapIn">
        <wsdl:part name="parameters" element="tns:authorization_endpoint" />
    </wsdl:message>
    <wsdl:message name="authorization_endpoint_SoapOut">
        <wsdl:part name="parameters" element="tns:authorization_endpointResponse" />
    </wsdl:message>
    
    <wsdl:message name="hbo_SoapIn">
        <wsdl:part name="parameters" element="tns:hbo" />
    </wsdl:message>
    <wsdl:message name="hbo_SoapOut">
        <wsdl:part name="parameters" element="tns:hboResponse" />
    </wsdl:message>
    <wsdl:message name="hboAuthHeader">
        <wsdl:part name="AuthHeader" element="tns:AuthHeader" />
    </wsdl:message>
    
    <wsdl:message name="authorization_endpointAuthHeader">
        <wsdl:part name="AuthHeader" element="tns:AuthHeader" />
    </wsdl:message>
    
    <wsdl:portType name="AuthServicesSoap">
        <wsdl:operation name="authorization_endpoint">
            <wsdl:input message="tns:authorization_endpoint_SoapIn" />
            <wsdl:output message="tns:authorization_endpoint_SoapOut" />
        </wsdl:operation>
        <wsdl:operation name="hbo">
            <wsdl:input message="tns:hbo_SoapIn" />
            <wsdl:output message="tns:hbo_SoapOut" />
        </wsdl:operation>
    </wsdl:portType>
    
    <wsdl:binding name="AuthServicesSoap12" type="tns:AuthServicesSoap">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="authorization_endpoint">
            <soap12:operation soapAction="https://autogestion.dibox.com.ar//authorization_endpoint" style="document" />
            <wsdl:input>
                <soap12:body use="literal" />
                <soap12:header message="tns:authorization_endpointAuthHeader" part="AuthHeader" use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="hbo">
            <soap12:operation soapAction="https://autogestion.dibox.com.ar//hbo" style="document" />
            <wsdl:input>
                <soap12:body use="literal" />
                <soap12:header message="tns:hboAuthHeader" part="AuthHeader" use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        
        
    </wsdl:binding>
    <wsdl:service name="AuthServices">
        <wsdl:port name="AuthServicesSoap12" binding="tns:AuthServicesSoap12">
            <soap12:address location="https://autogestion.dibox.com.ar/index_aut.php" />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
