Dago_O

RESTwsCliente.wsdl

Nov 12th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://cliente.tiendaonline.restws" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:odex="http://www.apache.org/ode/type/extension/http" targetNamespace="http://cliente.tiendaonline.restws">
  3.  
  4. <!-- TYPES -->
  5. <wsdl:types>
  6.     <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://cliente.tiendaonline.restws">
  7.    
  8.             <xsd:element name="CLIENTE" type="tns:ClienteType"/>
  9.             <xsd:element name="cid" type="xsd:string"/>
  10.        
  11.             <xsd:complexType name="ClienteType">
  12.                 <xsd:sequence>
  13.                     <xsd:element name="idCliente" type="xsd:string"></xsd:element>
  14.                     <xsd:element name="descuento" type="xsd:float" minOccurs="1"></xsd:element>
  15.                 </xsd:sequence>
  16.             </xsd:complexType>
  17.     </xsd:schema>
  18. </wsdl:types>
  19.  
  20. <!-- MESSAGE -->
  21. <wsdl:message name="clienteInput">
  22.         <wsdl:part name="cid" element="tns:cid"/>
  23. </wsdl:message>
  24. <wsdl:message name="clienteResponse">
  25.         <wsdl:part name="CLIENTE" element="tns:CLIENTE"/>
  26. </wsdl:message>
  27.  
  28. <!-- PORTTYPE -->
  29. <wsdl:portType name="RWSCliente_portType">
  30.     <wsdl:operation name="doGET">
  31.             <wsdl:input message="tns:clienteInput"/>
  32.             <wsdl:output message="tns:clienteResponse"/>
  33.     </wsdl:operation>
  34. </wsdl:portType>
  35.  
  36. <!-- BINDING -->
  37. <wsdl:binding name="RWSCliente_Binding" type="tns:RWSCliente_portType">
  38.     <wsdl:operation name="doGET">
  39.            <http:operation location=""/>
  40.            <odex:binding verb="GET"/>          
  41.            <wsdl:input>
  42.                <http:urlReplacement/>
  43.            </wsdl:input>
  44.            <wsdl:output>
  45.                <mime:content type="application/xml" part="CLIENTE"/>
  46.            </wsdl:output>
  47.     </wsdl:operation>
  48. </wsdl:binding>
  49.  
  50. <!-- SERVICE -->
  51. <service name="RWSCliente_Service">
  52.     <wsdl:port name="RWSCliente_Port" binding="tns:RWSCliente_Binding">
  53.         <http:address location="http://localhost:8182/TiendaOnline/clientes/{cid}"/>
  54.     </wsdl:port>
  55. </service>
  56. </wsdl:definitions>
Add Comment
Please, Sign In to add comment