main
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!--
  3
  4    W3C XML Schema defined in the Web Services Addressing 1.0 specification
  5    http://www.w3.org/TR/ws-addr-core
  6
  7   Copyright © 2005 World Wide Web Consortium,
  8
  9   (Massachusetts Institute of Technology, European Research Consortium for
 10   Informatics and Mathematics, Keio University). All Rights Reserved. This
 11   work is distributed under the W3C® Software License [1] in the hope that
 12   it will be useful, but WITHOUT ANY WARRANTY; without even the implied
 13   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 14
 15   [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
 16
 17   $Id: ws-addr.xsd,v 1.2 2008/07/23 13:38:16 plehegar Exp $
 18-->
 19<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/08/addressing" targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified" finalDefault="" attributeFormDefault="unqualified">
 20   <!--  Constructs from the WS-Addressing Core  -->
 21   <xs:element name="EndpointReference" type="tns:EndpointReferenceType" />
 22   <xs:complexType name="EndpointReferenceType" mixed="false">
 23      <xs:sequence>
 24         <xs:element name="Address" type="tns:AttributedURIType" />
 25         <xs:element ref="tns:ReferenceParameters" minOccurs="0" />
 26         <xs:element ref="tns:Metadata" minOccurs="0" />
 27         <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
 28      </xs:sequence>
 29      <xs:anyAttribute namespace="##other" processContents="lax" />
 30   </xs:complexType>
 31   <xs:element name="ReferenceParameters" type="tns:ReferenceParametersType" />
 32   <xs:complexType name="ReferenceParametersType" mixed="false">
 33      <xs:sequence>
 34         <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
 35      </xs:sequence>
 36      <xs:anyAttribute namespace="##other" processContents="lax" />
 37   </xs:complexType>
 38   <xs:element name="Metadata" type="tns:MetadataType" />
 39   <xs:complexType name="MetadataType" mixed="false">
 40      <xs:sequence>
 41         <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
 42      </xs:sequence>
 43      <xs:anyAttribute namespace="##other" processContents="lax" />
 44   </xs:complexType>
 45   <xs:element name="MessageID" type="tns:AttributedURIType" />
 46   <xs:element name="RelatesTo" type="tns:RelatesToType" />
 47   <xs:complexType name="RelatesToType" mixed="false">
 48      <xs:simpleContent>
 49         <xs:extension base="xs:anyURI">
 50            <xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply" />
 51            <xs:anyAttribute namespace="##other" processContents="lax" />
 52         </xs:extension>
 53      </xs:simpleContent>
 54   </xs:complexType>
 55   <xs:simpleType name="RelationshipTypeOpenEnum">
 56      <xs:union memberTypes="tns:RelationshipType xs:anyURI" />
 57   </xs:simpleType>
 58   <xs:simpleType name="RelationshipType">
 59      <xs:restriction base="xs:anyURI">
 60         <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply" />
 61      </xs:restriction>
 62   </xs:simpleType>
 63   <xs:element name="ReplyTo" type="tns:EndpointReferenceType" />
 64   <xs:element name="From" type="tns:EndpointReferenceType" />
 65   <xs:element name="FaultTo" type="tns:EndpointReferenceType" />
 66   <xs:element name="To" type="tns:AttributedURIType" />
 67   <xs:element name="Action" type="tns:AttributedURIType" />
 68   <xs:complexType name="AttributedURIType" mixed="false">
 69      <xs:simpleContent>
 70         <xs:extension base="xs:anyURI">
 71            <xs:anyAttribute namespace="##other" processContents="lax" />
 72         </xs:extension>
 73      </xs:simpleContent>
 74   </xs:complexType>
 75   <!--  Constructs from the WS-Addressing SOAP binding  -->
 76   <xs:attribute name="IsReferenceParameter" type="xs:boolean" />
 77   <xs:simpleType name="FaultCodesOpenEnumType">
 78      <xs:union memberTypes="tns:FaultCodesType xs:QName" />
 79   </xs:simpleType>
 80   <xs:simpleType name="FaultCodesType">
 81      <xs:restriction base="xs:QName">
 82         <xs:enumeration value="tns:InvalidAddressingHeader" />
 83         <xs:enumeration value="tns:InvalidAddress" />
 84         <xs:enumeration value="tns:InvalidEPR" />
 85         <xs:enumeration value="tns:InvalidCardinality" />
 86         <xs:enumeration value="tns:MissingAddressInEPR" />
 87         <xs:enumeration value="tns:DuplicateMessageID" />
 88         <xs:enumeration value="tns:ActionMismatch" />
 89         <xs:enumeration value="tns:MessageAddressingHeaderRequired" />
 90         <xs:enumeration value="tns:DestinationUnreachable" />
 91         <xs:enumeration value="tns:ActionNotSupported" />
 92         <xs:enumeration value="tns:EndpointUnavailable" />
 93      </xs:restriction>
 94   </xs:simpleType>
 95   <xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType" />
 96   <xs:complexType name="AttributedUnsignedLongType" mixed="false">
 97      <xs:simpleContent>
 98         <xs:extension base="xs:unsignedLong">
 99            <xs:anyAttribute namespace="##other" processContents="lax" />
100         </xs:extension>
101      </xs:simpleContent>
102   </xs:complexType>
103   <xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType" />
104   <xs:complexType name="AttributedQNameType" mixed="false">
105      <xs:simpleContent>
106         <xs:extension base="xs:QName">
107            <xs:anyAttribute namespace="##other" processContents="lax" />
108         </xs:extension>
109      </xs:simpleContent>
110   </xs:complexType>
111   <xs:element name="ProblemIRI" type="tns:AttributedURIType" />
112   <xs:element name="ProblemAction" type="tns:ProblemActionType" />
113   <xs:complexType name="ProblemActionType" mixed="false">
114      <xs:sequence>
115         <xs:element ref="tns:Action" minOccurs="0" />
116         <xs:element name="SoapAction" minOccurs="0" type="xs:anyURI" />
117      </xs:sequence>
118      <xs:anyAttribute namespace="##other" processContents="lax" />
119   </xs:complexType>
120</xs:schema>