2002/ws/desc/test-suite/documents/good/ServiceReference-1G reservationDetails-OMX736.xml,NONE,1.1 reservationDetails-HSG635.xml,NONE,1.1 reservationList-all.xml,NONE,1.1 reservationDetails-WUH663.xml,NONE,1.1 reservationDetails.xsd,1.1,1.2 reservationList.xsd,1.1,1.2 reservationList.wsdl,1.1,1.2 reservationDetails.wsdl,1.1,1.2 test.xsd,1.1,NONE

Update of /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G
In directory hutz:/tmp/cvs-serv1083/documents/good/ServiceReference-1G

Modified Files:
	reservationDetails.xsd reservationList.xsd 
	reservationList.wsdl reservationDetails.wsdl 
Added Files:
	reservationDetails-OMX736.xml reservationDetails-HSG635.xml 
	reservationList-all.xml reservationDetails-WUH663.xml 
Removed Files:
	test.xsd 
Log Message:
Completed Service Reference example for primer except for restricting interface and binding.

--- NEW FILE: reservationDetails-HSG635.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<reservationDetails
	xmlns="http://greath.example.com/2004/schemas/reservationDetails"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://greath.example.com/2004/schemas/reservationDetails reservationDetails.xsd ">
	<confirmationNumber>HSG635</confirmationNumber>
	<checkInDate>2005-06-27</checkInDate>
	<checkOutDate>2005-06-28</checkOutDate>
	<roomType>single</roomType>
	<smoking>true</smoking>
</reservationDetails>

Index: reservationList.wsdl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.wsdl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** reservationList.wsdl	25 Mar 2005 19:50:06 -0000	1.1
--- reservationList.wsdl	26 Mar 2005 01:34:30 -0000	1.2
***************
*** 1,7 ****
  <?xml version="1.0" encoding="utf-8" ?>
  <description xmlns="http://www.w3.org/2004/08/wsdl"
! 	targetNamespace="http://greath.example.com/2004/wsdl/reservationDetails"
! 	xmlns:tns="http://greath.example.com/2004/wsdl/reservationDetails"
! 	xmlns:ghns="http://greath.example.com/2004/schemas/reservationDetails"
  	xmlns:wsoap="http://www.w3.org/2004/08/wsdl/soap12"
  	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
--- 1,8 ----
  <?xml version="1.0" encoding="utf-8" ?>
  <description xmlns="http://www.w3.org/2004/08/wsdl"
! 	targetNamespace="http://greath.example.com/2004/wsdl/reservationList"
! 	xmlns:tns="http://greath.example.com/2004/wsdl/reservationList"
! 	xmlns:details="http://greath.example.com/2004/schemas/reservationDetails"
! 	xmlns:list="http://greath.example.com/2004/schemas/reservationList"
  	xmlns:wsoap="http://www.w3.org/2004/08/wsdl/soap12"
  	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
***************
*** 11,21 ****
  
  	<documentation>
! 		This document describes the GreatH Reservation Details Web
! 		services. Use these services to retrieve or update reservation
! 		details. Each reservation has its own service and endpoint. To
! 		obtain the serice reference for a reservation, make a request to
! 		the GreatH Reservation List Web service. See
! 		reservationList.wsdl for a description of the Reservation List
! 		Web service.
  	</documentation>
  
--- 12,18 ----
  
  	<documentation>
! 		This document describes the GreatH Reservation List Web
! 		services. Use this service to retrieve lists of reservations
! 		based on a variety of search criteria.
  	</documentation>
  
***************
*** 24,30 ****
  			namespace="http://greath.example.com/2004/schemas/reservationDetails"
  			schemaLocation="reservationDetails.xsd" />
  	</types>
  
! 	<interface name="reservationDetailsInterface">
  
  		<operation name="retrieve"
--- 21,30 ----
  			namespace="http://greath.example.com/2004/schemas/reservationDetails"
  			schemaLocation="reservationDetails.xsd" />
+ 		<xs:import
+ 			namespace="http://greath.example.com/2004/schemas/reservationList"
+ 			schemaLocation="reservationList.xsd" />
  	</types>
  
! 	<interface name="reservationListInterface">
  
  		<operation name="retrieve"
***************
*** 32,59 ****
  			<input messageLabel="In" element="#none" />
  			<output messageLabel="Out"
! 				element="ghns:reservationDetails" />
  		</operation>
  
! 		<operation name="update"
  			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="ghns:reservationDetails" />
  			<output messageLabel="Out"
! 				element="ghns:reservationDetails" />
  		</operation>
  
  	</interface>
  
! 	<binding name="reservationDetailsSOAPBinding"
! 		interface="tns:reservationDetailsInterface"
  		type="http://www.w3.org/2004/08/wsdl/soap12"
  		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
  
! 		<operation ref="tns:retrieve"
  			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response" />
  
! 		<operation ref="tns:update"
  			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response" />
  
  	</binding>
  
  </description>
--- 32,86 ----
  			<input messageLabel="In" element="#none" />
  			<output messageLabel="Out"
! 				element="list:reservationList" />
  		</operation>
  
! 		<operation name="retrieveByConfirmationNumber"
  			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="details:confirmationNumber" />
  			<output messageLabel="Out"
! 				element="list:reservationList" />
! 		</operation>
! 
! 		<operation name="retrieveByCheckInDate"
! 			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="details:checkInDate" />
! 			<output messageLabel="Out"
! 				element="list:reservationList" />
! 		</operation>
! 
! 		<operation name="retrieveByCheckOutDate"
! 			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="details:checkOutDate" />
! 			<output messageLabel="Out"
! 				element="list:reservationList" />
  		</operation>
  
  	</interface>
  
! 	<binding name="reservationListSOAPBinding"
! 		interface="tns:reservationListInterface"
  		type="http://www.w3.org/2004/08/wsdl/soap12"
  		wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
  
! 		<operation ref="tns:retrieveByConfirmationNumber"
  			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response" />
  
! 		<operation ref="tns:retrieveByCheckInDate"
! 			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response" />
! 
! 		<operation ref="tns:retrieveByCheckOutDate"
  			wsoap:mep="http://www.w3.org/2003/05/soap/mep/request-response" />
  
  	</binding>
  
+   <service name="reservationListService" 
+        interface="tns:reservationListInterface">
+ 
+      <endpoint name="reservationListEndpoint" 
+                binding="tns:reservationListSOAPBinding"
+                address ="http://greath.example.com/2004/reservationList"/>
+         
+   </service>
+ 
+ 
  </description>

Index: reservationDetails.xsd
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** reservationDetails.xsd	25 Mar 2005 19:50:06 -0000	1.1
--- reservationDetails.xsd	26 Mar 2005 01:34:30 -0000	1.2
***************
*** 1,15 ****
  <?xml version="1.0" encoding="UTF-8"?>
! <schema xmlns="http://www.w3.org/2001/XMLSchema"
  	targetNamespace="http://greath.example.com/2004/schemas/reservationDetails"
! 	xmlns:tns="http://greath.example.com/2004/schemas/reservationsDetails"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
  
  	<element name="reservationDetails">
  		<complexType>
  			<sequence>
! 				<element name="confirmationNumber" type="string" />
! 				<element name="checkInDate" type="date" />
! 				<element name="checkOutDate" type="date" />
  				<element name="roomType" type="string" />
  				<element name="smoking" type="boolean" />
--- 1,21 ----
  <?xml version="1.0" encoding="UTF-8"?>
! <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
  	targetNamespace="http://greath.example.com/2004/schemas/reservationDetails"
! 	xmlns:tns="http://greath.example.com/2004/schemas/reservationDetails"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
  
+ 	<element name="confirmationNumber" type="string"/>
+ 
+ 	<element name="checkInDate" type="date"/>
+ 
+ 	<element name="checkOutDate" type="date"/>
+ 
  	<element name="reservationDetails">
  		<complexType>
  			<sequence>
! 				<element ref="tns:confirmationNumber"></element>
! 				<element ref="tns:checkInDate"></element>
! 				<element ref="tns:checkOutDate"></element>
  				<element name="roomType" type="string" />
  				<element name="smoking" type="boolean" />
***************
*** 18,20 ****
--- 24,27 ----
  	</element>
  
+ 
  </schema>
\ No newline at end of file

Index: reservationList.xsd
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationList.xsd,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** reservationList.xsd	25 Mar 2005 19:50:06 -0000	1.1
--- reservationList.xsd	26 Mar 2005 01:34:30 -0000	1.2
***************
*** 1,9 ****
  <?xml version="1.0" encoding="UTF-8"?>
! <schema xmlns="http://www.w3.org/2001/XMLSchema"
! 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
! 	targetNamespace="http://greath.example.com/2004/wsdl/reservationList"
! 	xmlns:tns="http://greath.example.com/2004/wsdl/reservationList"
  	xmlns:wsdl="http://www.w3.org/2004/08/wsdl"
! 	xmlns:ghns="http://greath.example.com/2004/wsdl/reservationDetails"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
--- 1,9 ----
  <?xml version="1.0" encoding="UTF-8"?>
! <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
! 	targetNamespace="http://greath.example.com/2004/schemas/reservationList"
! 	xmlns:tns="http://greath.example.com/2004/schemas/reservationList"
! 	xmlns:details="http://greath.example.com/2004/schemas/reservationDetails"
  	xmlns:wsdl="http://www.w3.org/2004/08/wsdl"
! 	xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  	xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd">
***************
*** 13,67 ****
  		schemaLocation="../../../xmlcatalog/wsdl/wsdl20.xsd" />
  
! 	<xs:complexType name='EndpointType'>
! 		<xs:complexContent>
! 			<xs:extension base='wsdl:ExtensibleDocumentedType'>
! 				<xs:choice minOccurs='0' maxOccurs='unbounded'>
! 					<xs:element name='feature' type='wsdl:FeatureType' />
! 					<xs:element name='property'
! 						type='wsdl:PropertyType' />
! 					<xs:any namespace='##other' processContents='lax' />
! 				</xs:choice>
! 				<xs:attribute name='name' type='xs:NCName'
! 					use='required' />
! 				<xs:attribute name='binding' type='xs:QName'
! 					use='required' />
! 				<xs:attribute name='address' type='xs:anyURI'
! 					use='optional' />
! 			</xs:extension>
! 		</xs:complexContent>
! 	</xs:complexType>
  
  
! 	<element name="reservationDetailEndpoint">
  		<complexType>
! 			<complexContent>
! 				<restriction base="wsdl:EndpointType">
! 					<attribute name="name" type="NCName" use="required" />
! 					<attribute name="binding" type="QName"
! 						use="required" fixed="ghns:reservationDetailsSOAPBinding" />
! 					<attribute name="address" type="anyURI"
! 						use="required" />
! 				</restriction>
! 			</complexContent>
  		</complexType>
  	</element>
  
! 	<element name="reservationDetailService">
  		<complexType>
! 			<complexContent>
! 				<restriction base="wsdl:ServiceType">
! 					<choice minOccurs="1" maxOccurs="unbounded">
! 						<element name="endpoint"
! 							type="wsdl:EndpointType" />
! 						<element name="feature" type="wsdl:FeatureType" />
! 						<element name="property"
! 							type="wsdl:PropertyType" />
! 						<any namespace="##other" processContents="lax" />
! 					</choice>
! 					<attribute name="interface" type="QName"
! 						use="required" fixed="ghns:reservationDetailsInterface">
! 					</attribute>
! 				</restriction>
! 			</complexContent>
  		</complexType>
  	</element>
--- 13,64 ----
  		schemaLocation="../../../xmlcatalog/wsdl/wsdl20.xsd" />
  
! 	<import namespace="http://www.w3.org/2004/08/wsdl-instance"
! 		schemaLocation="../../../xmlcatalog/wsdl/wsdl20-instance.xsd" />
  
+ 	<import
+ 		namespace="http://greath.example.com/2004/schemas/reservationDetails"
+ 		schemaLocation="reservationDetails.xsd" />
  
! 	<element name="reservationList">
! 		<annotation>
! 			<documentation>
! 				A reservation list contains a sequence of zero or more
! 				reservations.
! 			</documentation>
! 		</annotation>
  		<complexType>
! 			<sequence>
! 				<element ref="tns:reservation" minOccurs="0"
! 					maxOccurs="unbounded">
! 				</element>
! 			</sequence>
! 			<attribute ref="wsdli:wsdlLocation"/>
  		</complexType>
  	</element>
  
! 	<element name="reservation">
! 		<annotation>
! 			<documentation>
! 				A reservation contains the confirmation number, check-in
! 				and check-out dates, and a reference to a reservation
! 				details Web service.
! 			</documentation>
! 		</annotation>
  		<complexType>
! 			<sequence>
! 				<element ref="details:confirmationNumber"/>
! 				<element ref="details:checkInDate"/>
! 				<element ref="details:checkOutDate"/>
! 				<element name="reservationDetailsService"
! 					type="wsdl:ServiceType">
! 					<annotation>
! 						<documentation>
! 							This element contains a reference to the
! 							Reservation Details Web Service for this
! 							reservation.
! 						</documentation>
! 					</annotation>
! 				</element>
! 			</sequence>
  		</complexType>
  	</element>

--- NEW FILE: reservationDetails-WUH663.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<reservationDetails
	xmlns="http://greath.example.com/2004/schemas/reservationDetails"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://greath.example.com/2004/schemas/reservationDetails reservationDetails.xsd ">
	<confirmationNumber>WUH663</confirmationNumber>
	<checkInDate>2005-06-11</checkInDate>
	<checkOutDate>2005-06-15</checkOutDate>
	<roomType>double</roomType>
	<smoking>false</smoking>
</reservationDetails>

Index: reservationDetails.wsdl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G/reservationDetails.wsdl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** reservationDetails.wsdl	25 Mar 2005 19:50:06 -0000	1.1
--- reservationDetails.wsdl	26 Mar 2005 01:34:30 -0000	1.2
***************
*** 3,9 ****
  	targetNamespace="http://greath.example.com/2004/wsdl/reservationDetails"
  	xmlns:tns="http://greath.example.com/2004/wsdl/reservationDetails"
! 	xmlns:ghns="http://greath.example.com/2004/schemas/reservationDetails"
  	xmlns:wsoap="http://www.w3.org/2004/08/wsdl/soap12"
- 	xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
  	xmlns:xs="http://www.w3.org/2001/XMLSchema"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
--- 3,8 ----
  	targetNamespace="http://greath.example.com/2004/wsdl/reservationDetails"
  	xmlns:tns="http://greath.example.com/2004/wsdl/reservationDetails"
! 	xmlns:wdetails="http://greath.example.com/2004/schemas/reservationDetails"
  	xmlns:wsoap="http://www.w3.org/2004/08/wsdl/soap12"
  	xmlns:xs="http://www.w3.org/2001/XMLSchema"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
***************
*** 32,43 ****
  			<input messageLabel="In" element="#none" />
  			<output messageLabel="Out"
! 				element="ghns:reservationDetails" />
  		</operation>
  
  		<operation name="update"
  			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="ghns:reservationDetails" />
  			<output messageLabel="Out"
! 				element="ghns:reservationDetails" />
  		</operation>
  
--- 31,42 ----
  			<input messageLabel="In" element="#none" />
  			<output messageLabel="Out"
! 				element="wdetails:reservationDetails" />
  		</operation>
  
  		<operation name="update"
  			pattern="http://www.w3.org/2004/03/wsdl/in-out">
! 			<input messageLabel="In" element="wdetails:reservationDetails" />
  			<output messageLabel="Out"
! 				element="wdetails:reservationDetails" />
  		</operation>
  

--- NEW FILE: reservationDetails-OMX736.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<reservationDetails
	xmlns="http://greath.example.com/2004/schemas/reservationDetails"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://greath.example.com/2004/schemas/reservationDetails reservationDetails.xsd ">
	<confirmationNumber>OMX736</confirmationNumber>
	<checkInDate>2005-06-01</checkInDate>
	<checkOutDate>2005-06-03</checkOutDate>
	<roomType>single</roomType>
	<smoking>false</smoking>
</reservationDetails>

--- NEW FILE: reservationList-all.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<reservationList
	xmlns="http://greath.example.com/2004/schemas/reservationList"
	xmlns:details="http://greath.example.com/2004/schemas/reservationDetails"
	xmlns:wdetails="http://greath.example.com/2004/wsdl/reservationDetails"
	xmlns:wsdl="http://www.w3.org/2004/08/wsdl"
	xmlns:wsdli="http://www.w3.org/2004/08/wsdl-instance"
	wsdli:wsdlLocation="http://greath.example.com/2004/wsdl/reservationDetails reservationDetails.wsdl"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://greath.example.com/2004/schemas/reservationList reservationList.xsd http://greath.example.com/2004/schema/reservationDetails reservationDetails.xsd http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://greath.example.com/2004/schemas/reservationDetails reservationDetails.xsd ">

	<reservation>
		<details:confirmationNumber>HSG635</details:confirmationNumber>
		<details:checkInDate>2005-06-27</details:checkInDate>
		<details:checkOutDate>2005-06-28</details:checkOutDate>
		<reservationDetailsService
			interface="wdetails:reservationDetailsInterface">
			<wsdl:endpoint name="SOAP-HSG635"
				binding="wdetails:reservationDetailsSOAPBinding"
				address="http://greath.example.com/2004/reservation/HSG635">
			</wsdl:endpoint>
		</reservationDetailsService>
	</reservation>

	<reservation>
		<details:confirmationNumber>OMX736</details:confirmationNumber>
		<details:checkInDate>2005-06-01</details:checkInDate>
		<details:checkOutDate>2005-06-03</details:checkOutDate>
		<reservationDetailsService
			interface="wdetails:reservationDetailsInterface">
			<wsdl:endpoint name="SOAP-OMX736"
				binding="wdetails:reservationDetailsSOAPBinding"
				address="http://greath.example.com/2004/reservation/OMX736">
			</wsdl:endpoint>
		</reservationDetailsService>
	</reservation>

	<reservation>
		<details:confirmationNumber>WUH663</details:confirmationNumber>
		<details:checkInDate>2005-06-11</details:checkInDate>
		<details:checkOutDate>2005-06-15</details:checkOutDate>
		<reservationDetailsService
			interface="wdetails:reservationDetailsInterface">
			<wsdl:endpoint name="SOAP-WUH663"
				binding="wdetails:reservationDetailsSOAPBinding"
				address="http://greath.example.com/2004/reservation/WUH663">
			</wsdl:endpoint>
		</reservationDetailsService>
	</reservation>

</reservationList>

--- test.xsd DELETED ---

Received on Saturday, 26 March 2005 01:34:33 UTC