| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!-- |
| 3 |
September 14, 2002 |
| 4 |
|
| 5 |
(c) Copyright 2002, The Web Services-Interoperability Organization (WS-I) |
| 6 |
Download or use of this file is governed by the Policies and Bylaws of WS-I. |
| 7 |
|
| 8 |
For more information, send email [email protected]. |
| 9 |
--> |
| 10 |
<xs:schema |
| 11 |
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" |
| 12 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 13 |
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" |
| 14 |
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" |
| 15 |
elementFormDefault="qualified"> |
| 16 |
<xs:import namespace="http://schemas.xmlsoap.org/soap/envelope/" |
| 17 |
schemaLocation="http://schemas.xmlsoap.org/soap/envelope/" /> |
| 18 |
<xs:annotation> |
| 19 |
<xs:documentation> |
| 20 |
This schema describes the types needed to describe the header common to all services. This |
| 21 |
header is used to pass the configuration of the demo to the various web services, and does not convey |
| 22 |
meaning required to implement a Supply Chain Management System. |
| 23 |
</xs:documentation> |
| 24 |
</xs:annotation> |
| 25 |
<xs:simpleType name="ConfigurationEndpointRole"> |
| 26 |
<xs:restriction base="xs:NMTOKEN"> |
| 27 |
<xs:enumeration value="LoggingFacility"/> |
| 28 |
<xs:enumeration value="Retailer"/> |
| 29 |
<xs:enumeration value="WarehouseA"/> |
| 30 |
<xs:enumeration value="WarehouseB"/> |
| 31 |
<xs:enumeration value="WarehouseC"/> |
| 32 |
<xs:enumeration value="ManufacturerA"/> |
| 33 |
<xs:enumeration value="ManufacturerB"/> |
| 34 |
<xs:enumeration value="ManufacturerC"/> |
| 35 |
</xs:restriction> |
| 36 |
</xs:simpleType> |
| 37 |
<xs:complexType name="ConfigurationEndpointType"> |
| 38 |
<xs:simpleContent> |
| 39 |
<xs:extension base="xs:anyURI"> |
| 40 |
<xs:attribute name="Role" type="tns:ConfigurationEndpointRole" use="required"/> |
| 41 |
</xs:extension> |
| 42 |
</xs:simpleContent> |
| 43 |
</xs:complexType> |
| 44 |
<xs:element name="Configuration" type="tns:ConfigurationType"/> |
| 45 |
<xs:complexType name="ConfigurationType"> |
| 46 |
<xs:sequence> |
| 47 |
<xs:annotation> |
| 48 |
<xs:documentation> |
| 49 |
It is left to the application to make sure that this array contains one of each of the |
| 50 |
role values enumerated in ConfigurationEndpointType. |
| 51 |
</xs:documentation> |
| 52 |
</xs:annotation> |
| 53 |
<xs:element name="UserId" type="xs:string" nillable="false"/> |
| 54 |
<xs:element name="ServiceUrl" type="tns:ConfigurationEndpointType" nillable="false" minOccurs="8" maxOccurs="8"/> |
| 55 |
</xs:sequence> |
| 56 |
<xs:attribute ref="s:mustUnderstand" use="optional"/> |
| 57 |
</xs:complexType> |
| 58 |
<xs:element name="ConfigurationFault" type="tns:ConfigurationFaultType" /> |
| 59 |
<xs:complexType name="ConfigurationFaultType"> |
| 60 |
<xs:sequence> |
| 61 |
<xs:annotation> |
| 62 |
<xs:documentation> |
| 63 |
It is required that every ServiceUrl that is missing, contains a duplicate, or does not resolve to a |
| 64 |
reachable service will be indicated in the ErroneousElement array. |
| 65 |
</xs:documentation> |
| 66 |
</xs:annotation> |
| 67 |
<xs:element name="Message" type="xs:string"/> |
| 68 |
<xs:element name="ErroneousElement" type="tns:ConfigurationEndpointRole" minOccurs="0" maxOccurs="8"/> |
| 69 |
</xs:sequence> |
| 70 |
<xs:attribute ref="s:mustUnderstand"/> |
| 71 |
</xs:complexType> |
| 72 |
</xs:schema> |