xml.wsdl.refactoring/test/unit/src/org/netbeans/modules/xml/wsdl/refactoring/resources/TravelReservationService.wsdl
author Milutin Kristofic <mkristofic@netbeans.org>
Mon, 30 Jan 2017 14:30:54 +0100
changeset 1583 fe20f672a61a
parent 61 fa682b5ee7cc
permissions -rw-r--r--
Added Missing copyright information in source files
mkristofic@1583
     1
<!--
mkristofic@1583
     2
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
mkristofic@1583
     3
mkristofic@1583
     4
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
mkristofic@1583
     5
mkristofic@1583
     6
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
mkristofic@1583
     7
Other names may be trademarks of their respective owners.
mkristofic@1583
     8
mkristofic@1583
     9
The contents of this file are subject to the terms of either the GNU
mkristofic@1583
    10
General Public License Version 2 only ("GPL") or the Common
mkristofic@1583
    11
Development and Distribution License("CDDL") (collectively, the
mkristofic@1583
    12
"License"). You may not use this file except in compliance with the
mkristofic@1583
    13
License. You can obtain a copy of the License at
mkristofic@1583
    14
http://www.netbeans.org/cddl-gplv2.html
mkristofic@1583
    15
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mkristofic@1583
    16
specific language governing permissions and limitations under the
mkristofic@1583
    17
License.  When distributing the software, include this License Header
mkristofic@1583
    18
Notice in each file and include the License file at
mkristofic@1583
    19
nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
mkristofic@1583
    20
particular file as subject to the "Classpath" exception as provided
mkristofic@1583
    21
by Oracle in the GPL Version 2 section of the License file that
mkristofic@1583
    22
accompanied this code. If applicable, add the following below the
mkristofic@1583
    23
License Header, with the fields enclosed by brackets [] replaced by
mkristofic@1583
    24
your own identifying information:
mkristofic@1583
    25
"Portions Copyrighted [year] [name of copyright owner]"
mkristofic@1583
    26
mkristofic@1583
    27
Contributor(s):
mkristofic@1583
    28
mkristofic@1583
    29
The Original Software is NetBeans. The Initial Developer of the Original
mkristofic@1583
    30
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
mkristofic@1583
    31
Microsystems, Inc. All Rights Reserved.
mkristofic@1583
    32
mkristofic@1583
    33
If you wish your version of this file to be governed by only the CDDL
mkristofic@1583
    34
or only the GPL Version 2, indicate your decision by adding
mkristofic@1583
    35
"[Contributor] elects to include this software in this distribution
mkristofic@1583
    36
under the [CDDL or GPL Version 2] license." If you do not indicate a
mkristofic@1583
    37
single choice of license, a recipient has the option to distribute
mkristofic@1583
    38
your version of this file under either the CDDL, the GPL Version 2 or
mkristofic@1583
    39
to extend the choice of license to its licensees as provided above.
mkristofic@1583
    40
However, if you add GPL Version 2 code and therefore, elected the GPL
mkristofic@1583
    41
Version 2 license, then the option applies only if the new code is
mkristofic@1583
    42
made subject to such option by the copyright holder.
mkristofic@1583
    43
-->
abadea@61
    44
<definitions  xmlns="http://schemas.xmlsoap.org/wsdl/" 
abadea@61
    45
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
abadea@61
    46
xmlns:xs="http://www.w3.org/2001/XMLSchema"  
abadea@61
    47
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
abadea@61
    48
xmlns:plnk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" 
abadea@61
    49
xmlns:tns="http://www.sun.com/javaone/05/TravelReservationService"
abadea@61
    50
xmlns:ares="http://www.sun.com/javaone/05/AirlineReservationService" 
abadea@61
    51
xmlns:hres="http://www.sun.com/javaone/05/HotelReservationService" 
abadea@61
    52
xmlns:vres="http://www.sun.com/javaone/05/VehicleReservationService" 
abadea@61
    53
xmlns:ota="http://www.opentravel.org/OTA/2003/05"  
abadea@61
    54
xmlns:tres="http://www.sun.com/javaone/05/TravelReservationService"  
abadea@61
    55
targetNamespace="http://www.sun.com/javaone/05/TravelReservationService"
abadea@61
    56
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" >
abadea@61
    57
abadea@61
    58
	
abadea@61
    59
	<import namespace="http://www.sun.com/javaone/05/HotelReservationService" location="HotelReservationService.wsdl"/>
abadea@61
    60
	<import namespace="http://www.sun.com/javaone/05/AirlineReservationService" location="AirlineReservationService.wsdl"/>
abadea@61
    61
	<import namespace="http://www.sun.com/javaone/05/VehicleReservationService" location="VehicleReservationService.wsdl"/>	
abadea@61
    62
	
abadea@61
    63
	<types>
abadea@61
    64
		<xs:schema xmlns="http://www.opentravel.org/OTA/2003/05"
abadea@61
    65
		 targetNamespace="http://www.sun.com/javaone/05/TravelReservationService" xmlns:s="http://www.w3.org/2001/XMLSchema"  >
abadea@61
    66
			<xs:import namespace="http://www.opentravel.org/OTA/2003/05" schemaLocation="OTA_TravelItinerary.xsd"/>
abadea@61
    67
			<xs:element name="itineraryFault" type="xs:string" />
abadea@61
    68
		</xs:schema>
abadea@61
    69
	</types>
abadea@61
    70
abadea@61
    71
abadea@61
    72
	<message name="ItineraryIn">
abadea@61
    73
		<part name="itinerary" element="ota:TravelItinerary"/>
abadea@61
    74
	</message>
abadea@61
    75
	<message name="ItineraryOut">
abadea@61
    76
		<part name="itinerary" element="ota:TravelItinerary"/>
abadea@61
    77
	</message>
abadea@61
    78
	<message name="ItineraryFault">
abadea@61
    79
		<part name="faultMessage" element="tns:itineraryFault"/>
abadea@61
    80
	</message>	
abadea@61
    81
	
abadea@61
    82
abadea@61
    83
abadea@61
    84
	<portType name="TravelReservationPortType">
abadea@61
    85
		<operation name="buildItinerary">
abadea@61
    86
			<input message="tns:ItineraryIn"/>
abadea@61
    87
			<output message="tns:ItineraryOut"/>
abadea@61
    88
			<fault name="itineraryProblem" message="tns:ItineraryFault"/>
abadea@61
    89
		</operation>
abadea@61
    90
	</portType>
abadea@61
    91
		
abadea@61
    92
	
abadea@61
    93
	<binding name="TravelReservationSoapBinding" type="tns:TravelReservationPortType">
abadea@61
    94
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
abadea@61
    95
		<operation name="buildItinerary">
abadea@61
    96
			<soap:operation/>
abadea@61
    97
			<input>
abadea@61
    98
				<soap:body use="literal"/>
abadea@61
    99
			</input>
abadea@61
   100
			<output>
abadea@61
   101
				<soap:body use="literal"/>
abadea@61
   102
			</output>
abadea@61
   103
			<fault name="itineraryProblem">
abadea@61
   104
				<soap:fault name="itineraryProblem" use="literal"/>
abadea@61
   105
			</fault>				
abadea@61
   106
		</operation>		
abadea@61
   107
	</binding>
abadea@61
   108
	
abadea@61
   109
	
abadea@61
   110
	<service name="TravelReservationSoapService">
abadea@61
   111
		<port name="TravelReservationSoapHttpPort" binding="tns:TravelReservationSoapBinding">
abadea@61
   112
			<soap:address location="http://localhost:18181/TravelReservation/buildItinerary"/>
abadea@61
   113
		</port>		
abadea@61
   114
		<port name="AirlineReservationCallbackSoapHttpPort" binding="ares:AirlineReservationCallbackSoapBinding">
abadea@61
   115
			<soap:address location="http://localhost:18181/TravelReservation/airlineReserved"/>
abadea@61
   116
		</port>		
abadea@61
   117
		<port name="HotelReservationCallbackSoapHttpPort" binding="hres:HotelReservationCallbackSoapBinding">
abadea@61
   118
			<soap:address location="http://localhost:18181/TravelReservation/hotelReserved"/>
abadea@61
   119
		</port>			
abadea@61
   120
		<port name="VehicleReservationCallbackSoapHttpPort" binding="vres:VehicleReservationCallbackSoapBinding">
abadea@61
   121
			<soap:address location="http://localhost:18181/TravelReservation/vehicleReserved"/>
abadea@61
   122
		</port>					
abadea@61
   123
	</service>
abadea@61
   124
	
abadea@61
   125
abadea@61
   126
abadea@61
   127
	   
abadea@61
   128
   <bpws:property name="ItineraryRefId" type="xs:string" /> 
abadea@61
   129
abadea@61
   130
abadea@61
   131
    <bpws:propertyAlias 
abadea@61
   132
      propertyName="tres:ItineraryRefId"
abadea@61
   133
      messageType="tres:ItineraryIn"
abadea@61
   134
      part="itinerary">
abadea@61
   135
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   136
    </bpws:propertyAlias>
abadea@61
   137
abadea@61
   138
   <bpws:propertyAlias 
abadea@61
   139
      propertyName="tres:ItineraryRefId"
abadea@61
   140
      messageType="ares:AirlineReservedIn"
abadea@61
   141
      part="itinerary">
abadea@61
   142
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   143
    </bpws:propertyAlias>
abadea@61
   144
     
abadea@61
   145
abadea@61
   146
abadea@61
   147
   <bpws:propertyAlias 
abadea@61
   148
      propertyName="tres:ItineraryRefId"
abadea@61
   149
      messageType="ares:ReserveAirlineIn"
abadea@61
   150
      part="itinerary">
abadea@61
   151
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   152
    </bpws:propertyAlias>
abadea@61
   153
abadea@61
   154
   <bpws:propertyAlias 
abadea@61
   155
      propertyName="tres:ItineraryRefId"
abadea@61
   156
      messageType="vres:VehicleReservedIn"
abadea@61
   157
      part="itinerary">
abadea@61
   158
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   159
    </bpws:propertyAlias>
abadea@61
   160
abadea@61
   161
abadea@61
   162
   <bpws:propertyAlias 
abadea@61
   163
      propertyName="tres:ItineraryRefId"
abadea@61
   164
      messageType="vres:ReserveVehicleIn"
abadea@61
   165
      part="itinerary">
abadea@61
   166
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   167
    </bpws:propertyAlias>
abadea@61
   168
      
abadea@61
   169
   <bpws:propertyAlias 
abadea@61
   170
      propertyName="tres:ItineraryRefId"
abadea@61
   171
      messageType="hres:HotelReservedIn"
abadea@61
   172
      part="itinerary">
abadea@61
   173
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   174
    </bpws:propertyAlias>
abadea@61
   175
abadea@61
   176
abadea@61
   177
   <bpws:propertyAlias 
abadea@61
   178
      propertyName="tres:ItineraryRefId"
abadea@61
   179
      messageType="hres:ReserveHotelIn"
abadea@61
   180
      part="itinerary">
abadea@61
   181
      <bpws:query>/TravelItinerary/ItineraryRef/UniqueID</bpws:query>    
abadea@61
   182
    </bpws:propertyAlias>   
abadea@61
   183
	
abadea@61
   184
	
abadea@61
   185
    <plnk:partnerLinkType name="TravelReservationPartnerLinkType">
abadea@61
   186
            <plnk:role name="TravelReservationServiceRole" 
abadea@61
   187
                portType="tres:TravelReservationPortType">
abadea@61
   188
            </plnk:role>			
abadea@61
   189
    </plnk:partnerLinkType>	
abadea@61
   190
	
abadea@61
   191
abadea@61
   192
</definitions>