<?xml version="1.0"?>
<wsdl:definitions name="AritmeticaServicio"
targetNamespace="urn:Webservice"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="urn:Webservice"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns1="urn:Webservice"
xmlns:typens="urn:Webservice">
<wsdl:types>
<schema targetNamespace="urn:Webservice" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<complexType name="Data">
<sequence>
<element name="dato1" type="xsd:string" />
<element name="dato2" type="xsd:string" />
</sequence>
</complexType>
<complexType name="ArrayOfString">
<sequence>
<!-- son 4 elementos string -->
<element minOccurs="2" maxOccurs="2" name="string" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<!-- mesagges -->
<wsdl:message name="AritmeticaPeticion">
<wsdl:part name="operando1" type="xsd:float" />
<wsdl:part name="operando2" type="xsd:float" />
</wsdl:message>
<wsdl:message name="AritmeticaRespuesta">
<wsdl:part name="respuesta" type="xsd:float" />
</wsdl:message>
<wsdl:message name="visitasPeticion">
<wsdl:part name="peticion" type="xsd:float" />
</wsdl:message>
<wsdl:message name="visitasRespuesta">
<wsdl:part name="visitas" type="typens:Data" />
</wsdl:message>
<!-- mesagges end -->
<!-- portypes -->
<wsdl:portType name="AritmeticaPort">
<wsdl:operation name="sumar">
<wsdl:input message="tns:AritmeticaPeticion" />
<wsdl:output message="tns:AritmeticaRespuesta" />
</wsdl:operation>
<wsdl:operation name="visitas">
<wsdl:input message="tns:visitasPeticion" />
<wsdl:output message="tns:visitasRespuesta" />
</wsdl:operation>
</wsdl:portType>
<!-- portypes end -->
<!-- binding -->
<wsdl:binding name="AritmeticaBinding" type="tns:AritmeticaPort">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="sumar">
<wsdlsoap:operation soapAction="urn:Webservice#sumar" />
<wsdl:input>
<wsdlsoap:body use="encoded" namespace="urn:Webservice" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" namespace="urn:Webservice" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="visitas">
<wsdlsoap:operation soapAction="urn:Webservice#visitas" />
<wsdl:input>
<wsdlsoap:body use="encoded" namespace="urn:Webservice" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" namespace="urn:Webservice" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<!-- binding end-->
<wsdl:service name="AritmeticaServicio">
<wsdl:port name="AritmeticaPort" binding="tns:AritmeticaBinding">
<wsdlsoap:address location="http://localhost/WebServices/aritmetica/servidor.pl" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>