- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 25 Mar 2005 19:50:08 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/good/ServiceReference-1G In directory hutz:/tmp/cvs-serv8443/documents/good/ServiceReference-1G Added Files: test.xsd reservationDetails.xsd reservationList.xsd reservationList.wsdl reservationDetails.wsdl Removed Files: reservation.xsd Log Message: Test cases for primer section on Service References. --- reservation.xsd DELETED --- --- NEW FILE: reservationList.wsdl --- <?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" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd"> <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> <types> <xs:import namespace="http://greath.example.com/2004/schemas/reservationDetails" schemaLocation="reservationDetails.xsd" /> </types> <interface name="reservationDetailsInterface"> <operation name="retrieve" pattern="http://www.w3.org/2004/03/wsdl/in-out"> <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> --- NEW FILE: reservationDetails.xsd --- <?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" /> </sequence> </complexType> </element> </schema> --- NEW FILE: reservationList.xsd --- <?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"> <import namespace="http://www.w3.org/2004/08/wsdl" 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> </schema> --- NEW FILE: reservationDetails.wsdl --- <?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" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd"> <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> <types> <xs:import namespace="http://greath.example.com/2004/schemas/reservationDetails" schemaLocation="reservationDetails.xsd" /> </types> <interface name="reservationDetailsInterface"> <operation name="retrieve" pattern="http://www.w3.org/2004/03/wsdl/in-out"> <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> --- NEW FILE: test.xsd --- <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ibm.com" xmlns:tns="http://www.ibm.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://www.w3.org/2004/08/wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd"> <import namespace="http://www.w3.org/2004/08/wsdl" 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: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> <complexType name="RestrictedEndpointType"> <complexContent> <restriction base="wsdl:EndpointType"> <xs:choice minOccurs='0' maxOccurs='unbounded'> <xs:element name='feature' type='wsdl:FeatureType' /> <xs:element name='property' type='wsdl:PropertyType' /> </xs:choice> <xs:attribute name='name' type='xs:NCName' use='optional' /> <xs:attribute name='binding' type='xs:QName' use='required' /> <xs:attribute name='address' type='xs:anyURI' use='optional' /> </restriction> </complexContent> </complexType> </schema>
Received on Friday, 25 March 2005 19:50:08 UTC