×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: Jonathan Vila López
Added: May 22, 2014 11:58 AM
Views: 1817
Tags: wsdl
  1. <?xml version="1.0"?>
  2. <wsdl:definitions
  3.    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4.    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  5.    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6.    xmlns:tns="http://www.opentravel.org/OTA/2003/05"    
  7.    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  8.    xmlns="http://schemas.xmlsoap.org/wsdl/"
  9.    targetNamespace="http://www.opentravel.org/OTA/2003/05"
  10.    name="wsOTA2010BServicePush">
  11.    
  12.     <jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb">
  13.         <xsd:complexType name="objectFactory">
  14.             <xsd:annotation>
  15.                 <xsd:appinfo>
  16.                     <jxb:class name="MyObjectFactory" version="1.0" />
  17.                 </xsd:appinfo>
  18.             </xsd:annotation>
  19.         </xsd:complexType>            
  20.     </jxb:bindings>
  21.    
  22.     <types>
  23.         <xsd:schema>
  24.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_NotifReportRQ.xsd"/>
  25.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_NotifReportRS.xsd"/>
  26.            
  27.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_HotelAvailNotifRQ.xsd"/>
  28.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_HotelAvailNotifRS.xsd"/>
  29.            
  30.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_HotelRateAmountNotifRQ.xsd"/>
  31.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_HotelRateAmountNotifRS.xsd"/>
  32.  
  33.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_ReadRQ.xsd"/>
  34.             <xsd:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_ResRetrieveRS.xsd"/>
  35.         </xsd:schema>
  36.     </types>    
  37.     <message name="AvailabilityUpdateRequest">
  38.         <part name="OTA_HotelAvailNotifRQ" element="tns:OTA_HotelAvailNotifRQ"/>
  39.     </message>
  40.     <message name="AvailabilityUpdateResponse">
  41.         <part name="OTA_HotelAvailNotifRS" element="tns:OTA_HotelAvailNotifRS"/>
  42.     </message>
  43.  
  44.     <message name="RateUpdateRequest">
  45.         <part name="OTA_HotelRateAmountNotifRQ" element="tns:OTA_HotelRateAmountNotifRQ"/>
  46.     </message>
  47.     <message name="RateUpdateResponse">
  48.         <part name="OTA_HotelRateAmountNotifRS" element="tns:OTA_HotelRateAmountNotifRS"/>
  49.     </message>
  50.    
  51.     <message name="RequestBookingsRequest">
  52.         <part name="OTA_ReadRQ" element="tns:OTA_ReadRQ"/>
  53.     </message>
  54.     <message name="RequestBookingsResponse">
  55.         <part name="OTA_ResRetrieveRS" element="tns:OTA_ResRetrieveRS"/>
  56.     </message>
  57.    
  58.     <message name="BookingConfirmationRequest">
  59.         <part name="OTA_HotelResModifyNotifRQ" element="tns:OTA_NotifReportRQ"/>
  60.     </message>
  61.     <message name="BookingConfirmationResponse">
  62.         <part name="OTA_HotelResModifyNotifRS" element="tns:OTA_NotifReportRS"/>
  63.     </message>    
  64.    
  65.    
  66.     <portType name="OTA2010BPortDEPTypePush">
  67.         <operation name="AvailabilityUpdate">
  68.             <input message="tns:AvailabilityUpdateRequest"/>
  69.             <output message="tns:AvailabilityUpdateResponse"/>
  70.         </operation>
  71.         <operation name="RequestBookings">
  72.             <input message="tns:RequestBookingsRequest"/>
  73.             <output message="tns:RequestBookingsResponse"/>
  74.         </operation>
  75.         <operation name="BookingConfirmation">
  76.             <input message="tns:BookingConfirmationRequest"/>
  77.             <output message="tns:BookingConfirmationResponse"/>
  78.         </operation>
  79.         <operation name="RateUpdate">
  80.             <input message="tns:RateUpdateRequest"/>
  81.             <output message="tns:RateUpdateResponse"/>
  82.         </operation>        
  83.     </portType>
  84.    
  85.     <binding name="OTA2010BPortDEPTypePushPortBinding" type="tns:OTA2010BPortDEPTypePush">
  86.         <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  87.        
  88.         <operation name="AvailabilityUpdate">
  89.             <soap:operation soapAction="OTA_HotelAvailNotifRQ"/>
  90.             <input>
  91.                 <soap:body use="literal"/>
  92.             </input>
  93.             <output>
  94.                 <soap:body use="literal"/>
  95.             </output>
  96.         </operation>
  97.  
  98.         <operation name="RequestBookings">
  99.             <soap:operation soapAction="OTA_ReadRQ"/>
  100.             <input>
  101.                 <soap:body use="literal"/>
  102.             </input>
  103.             <output>
  104.                 <soap:body use="literal"/>
  105.             </output>
  106.         </operation>
  107.        
  108.         <operation name="BookingConfirmation">
  109.             <soap:operation soapAction="OTA_HotelResModifyNotifRQ"/>
  110.             <input>
  111.                 <soap:body use="literal"/>
  112.             </input>
  113.             <output>
  114.                 <soap:body use="literal"/>
  115.             </output>
  116.         </operation>
  117.        
  118.         <operation name="RateUpdate">
  119.             <soap:operation soapAction="OTA_HotelRateAmountNotifRQ"/>
  120.             <input>
  121.                 <soap:body use="literal"/>
  122.             </input>
  123.             <output>
  124.                 <soap:body use="literal"/>
  125.             </output>
  126.         </operation>        
  127.     </binding>
  128.  
  129.     <service name="wsOTA2010BServicePush">
  130.         <port name="OTA2010BPortDEPTypePortPush" binding="tns:OTA2010BPortDEPTypePushPortBinding">
  131.             <soap:address location="http://localhost:8080/TesiproConOTA2010B/wsOTA2010BService"/>
  132.         </port>
  133.     </service>
  134. </wsdl:definitions>