Ejercicio WSDL

Acciones de Documento
  • Marcadores (bookmarks)
Autores: Norberto Fernández García, Jesús Arias Fisteus

Cuenta.wsdl — Extensible Markup Language (XML), 2 kB (2853 bytes)

Contenido del Archivo

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:cuenta:servicio" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:cuenta:servicio" xmlns:intf="urn:cuenta:servicio" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="urn:cuenta:servicio" xmlns="http://www.w3.org/2001/XMLSchema">
   <element name="in0" type="xsd:int"/>
   <element name="in1" type="xsd:float"/>
   <element name="in2" type="xsd:int"/>
   <element name="saldoReturn" type="xsd:float"/>
  </schema>
 </wsdl:types>

   <wsdl:message name="saldoRequest">

      <wsdl:part element="impl:in2" name="in0"/>

   </wsdl:message>

   <wsdl:message name="operarRequest">

      <wsdl:part element="impl:in0" name="in0"/>

      <wsdl:part element="impl:in1" name="in1"/>

   </wsdl:message>

   <wsdl:message name="saldoResponse">

      <wsdl:part element="impl:saldoReturn" name="saldoReturn"/>

   </wsdl:message>

   <wsdl:message name="operarResponse">

   </wsdl:message>

   <wsdl:portType name="Cuenta">

      <wsdl:operation name="operar" parameterOrder="in0 in1">

         <wsdl:input message="impl:operarRequest" name="operarRequest"/>

         <wsdl:output message="impl:operarResponse" name="operarResponse"/>

      </wsdl:operation>

      <wsdl:operation name="saldo" parameterOrder="in0">

         <wsdl:input message="impl:saldoRequest" name="saldoRequest"/>

         <wsdl:output message="impl:saldoResponse" name="saldoResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="CuentaSoapBinding" type="impl:Cuenta">

      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="operar">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="operarRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="operarResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="saldo">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="saldoRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="saldoResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="CuentaService">

      <wsdl:port binding="impl:CuentaSoapBinding" name="Cuenta">

         <wsdlsoap:address location="http://localhost:8080/axis/services/Cuenta"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>
Reutilizar Curso
Descargar este curso