xml.wsdl.extensions/test/unit/src/org/netbeans/modules/xml/wsdl/model/extensions/resources/Vehicle_PartnerLinkChanged2.wsdl
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 99 9adc3d861bc9
permissions -rw-r--r--
Added Missing copyright information in source files
     1 <!--
     2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3 
     4 Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
     5 
     6 Oracle and Java are registered trademarks of Oracle and/or its affiliates.
     7 Other names may be trademarks of their respective owners.
     8 
     9 The contents of this file are subject to the terms of either the GNU
    10 General Public License Version 2 only ("GPL") or the Common
    11 Development and Distribution License("CDDL") (collectively, the
    12 "License"). You may not use this file except in compliance with the
    13 License. You can obtain a copy of the License at
    14 http://www.netbeans.org/cddl-gplv2.html
    15 or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    16 specific language governing permissions and limitations under the
    17 License.  When distributing the software, include this License Header
    18 Notice in each file and include the License file at
    19 nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
    20 particular file as subject to the "Classpath" exception as provided
    21 by Oracle in the GPL Version 2 section of the License file that
    22 accompanied this code. If applicable, add the following below the
    23 License Header, with the fields enclosed by brackets [] replaced by
    24 your own identifying information:
    25 "Portions Copyrighted [year] [name of copyright owner]"
    26 
    27 Contributor(s):
    28 
    29 The Original Software is NetBeans. The Initial Developer of the Original
    30 Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
    31 Microsystems, Inc. All Rights Reserved.
    32 
    33 If you wish your version of this file to be governed by only the CDDL
    34 or only the GPL Version 2, indicate your decision by adding
    35 "[Contributor] elects to include this software in this distribution
    36 under the [CDDL or GPL Version 2] license." If you do not indicate a
    37 single choice of license, a recipient has the option to distribute
    38 your version of this file under either the CDDL, the GPL Version 2 or
    39 to extend the choice of license to its licensees as provided above.
    40 However, if you add GPL Version 2 code and therefore, elected the GPL
    41 Version 2 license, then the option applies only if the new code is
    42 made subject to such option by the copyright holder.
    43 -->
    44 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" 
    45 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
    46 xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    47 xmlns:tns="http://www.sun.com/javaone/05/VehicleReservationService" 
    48 xmlns:ota="http://www.opentravel.org/OTA/2003/05" 
    49 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    50 xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" 
    51 targetNamespace="http://www.sun.com/javaone/05/VehicleReservationService">
    52 
    53 	<types>
    54 		<xs:schema targetNamespace="http://www.sun.com/javaone/05/VehicleReservationService" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:air="http://www.sun.com/javaone/05/VehicleReservationService">
    55 			<xs:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_TravelItinerary.xsd"/>
    56 		</xs:schema>
    57 	</types>
    58 	
    59 	<message name="ReserveVehicleIn">
    60 		<part name="itinerary" element="ota:TravelItinerary"/>
    61 	</message>
    62 	<message name="CancelVehicleIn">
    63 		<part name="itinerary" element="ota:ItineraryRef"/>
    64 	</message>
    65 	<message name="CancelVehicleOut">
    66 		<part name="succeeded" element="ota:CancellationStatus"/>
    67 	</message>
    68 	<message name="VehicleReservedIn">
    69 		<part name="itinerary" element="ota:TravelItinerary"/>
    70 	</message>
    71 	
    72 	<portType name="VehicleReservationPortType2">
    73 		<operation name="reserveVehicle">
    74 			<input message="tns:ReserveVehicleIn"/>
    75 		</operation>
    76 		<operation name="cancelVehicle">
    77 			<input message="tns:CancelVehicleIn"/>
    78 			<output message="tns:CancelVehicleOut"/>
    79 		</operation>
    80 	</portType>
    81 	
    82 	
    83 	<portType name="VehicleReservationCallbackPortType2">
    84 		<operation name="vehicleReserved">
    85 			<input message="tns:VehicleReservedIn"/>
    86 		</operation>
    87 	</portType>	
    88 	
    89 	<binding name="VehicleReservationSoapBinding" type="tns:VehicleReservationPortType2">
    90 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    91 		<operation name="reserveVehicle">
    92 			<soap:operation soapAction="http://www.sun.com/javaone/05/VehicleReservationService/reserveVehicle" style="document"/>
    93 			<input>
    94 				<soap:body use="literal"/>
    95 			</input>
    96 		</operation>
    97 		<operation name="cancelVehicle">
    98 			<soap:operation soapAction="http://www.sun.com/javaone/05/VehicleReservationService/cancelVehicle" style="document"/>
    99 			<input>
   100 				<soap:body use="literal"/>
   101 			</input>
   102 			<output>
   103 				<soap:body use="literal"/>
   104 			</output>
   105 		</operation>
   106 	</binding>
   107 
   108 
   109 	<binding name="VehicleReservationCallbackSoapBinding" type="tns:VehicleReservationCallbackPortType">
   110 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
   111 		<operation name="vehicleReserved">
   112 			<soap:operation/>
   113 			<input>
   114 				<soap:body use="literal"/>
   115 			</input>
   116 		</operation>				
   117 	</binding>
   118 
   119 
   120 
   121 	<service name="VehicleReservationSoapService">
   122 		<port name="VehicleReservationSoapHttpPort" binding="tns:VehicleReservationSoapBinding">
   123 			<soap:address location="http://localhost:8080/webservice/VehicleReservationService"/>
   124 		</port>
   125 	</service>
   126 	
   127 	
   128 	<plnk:partnerLinkType name="VehicleReservationPartnerLinkType">
   129 		<plnk:role name="VehicleReservationServiceRole"
   130                     portType="tns:VehicleReservationPortType2" >
   131                 </plnk:role>
   132 		<plnk:role name="VehicleReservationCallbackServiceRole"
   133                     portType="tns:VehicleReservationCallbackPortType" >
   134 		</plnk:role>		
   135 	</plnk:partnerLinkType>	
   136 	
   137 	
   138 </definitions>