1 <!-- doctype declaration has been removed -->
3 W3C XML Schema defined in the Web Services Addressing 1.0 specification
4 http://www.w3.org/TR/ws-addr-core
6 Copyright © 2005 World Wide Web Consortium,
8 (Massachusetts Institute of Technology, European Research Consortium for
9 Informatics and Mathematics, Keio University). All Rights Reserved. This
10 work is distributed under the W3C® Software License [1] in the hope that
11 it will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
16 $Id: ws-addr.xsd,v 1.1 2006/03/21 10:19:47 hugo Exp $
18 <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 -->
22 <xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
23 <xs:complexType name="EndpointReferenceType" mixed="false">
25 <xs:element name="Address" type="tns:AttributedURIType"/>
26 <xs:element ref="tns:ReferenceParameters" minOccurs="0"/>
27 <xs:element ref="tns:Metadata" minOccurs="0"/>
28 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
30 <xs:anyAttribute namespace="##other" processContents="lax"/>
33 <xs:element name="ReferenceParameters" type="tns:ReferenceParametersType"/>
34 <xs:complexType name="ReferenceParametersType" mixed="false">
36 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
38 <xs:anyAttribute namespace="##other" processContents="lax"/>
41 <xs:element name="Metadata" type="tns:MetadataType"/>
42 <xs:complexType name="MetadataType" mixed="false">
44 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
46 <xs:anyAttribute namespace="##other" processContents="lax"/>
49 <xs:element name="MessageID" type="tns:AttributedURIType"/>
50 <xs:element name="RelatesTo" type="tns:RelatesToType"/>
51 <xs:complexType name="RelatesToType" mixed="false">
53 <xs:extension base="xs:anyURI">
54 <xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply"/>
55 <xs:anyAttribute namespace="##other" processContents="lax"/>
60 <xs:simpleType name="RelationshipTypeOpenEnum">
61 <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
64 <xs:simpleType name="RelationshipType">
65 <xs:restriction base="xs:anyURI">
66 <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
70 <xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
71 <xs:element name="From" type="tns:EndpointReferenceType"/>
72 <xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
73 <xs:element name="To" type="tns:AttributedURIType"/>
74 <xs:element name="Action" type="tns:AttributedURIType"/>
76 <xs:complexType name="AttributedURIType" mixed="false">
78 <xs:extension base="xs:anyURI">
79 <xs:anyAttribute namespace="##other" processContents="lax"/>
84 <!-- Constructs from the WS-Addressing SOAP binding -->
86 <xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
88 <xs:simpleType name="FaultCodesOpenEnumType">
89 <xs:union memberTypes="tns:FaultCodesType xs:QName"/>
92 <xs:simpleType name="FaultCodesType">
93 <xs:restriction base="xs:QName">
94 <xs:enumeration value="tns:InvalidAddressingHeader"/>
95 <xs:enumeration value="tns:InvalidAddress"/>
96 <xs:enumeration value="tns:InvalidEPR"/>
97 <xs:enumeration value="tns:InvalidCardinality"/>
98 <xs:enumeration value="tns:MissingAddressInEPR"/>
99 <xs:enumeration value="tns:DuplicateMessageID"/>
100 <xs:enumeration value="tns:ActionMismatch"/>
101 <xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
102 <xs:enumeration value="tns:DestinationUnreachable"/>
103 <xs:enumeration value="tns:ActionNotSupported"/>
104 <xs:enumeration value="tns:EndpointUnavailable"/>
108 <xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
109 <xs:complexType name="AttributedUnsignedLongType" mixed="false">
111 <xs:extension base="xs:unsignedLong">
112 <xs:anyAttribute namespace="##other" processContents="lax"/>
117 <xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
118 <xs:complexType name="AttributedQNameType" mixed="false">
120 <xs:extension base="xs:QName">
121 <xs:anyAttribute namespace="##other" processContents="lax"/>
126 <xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
128 <xs:element name="ProblemAction" type="tns:ProblemActionType"/>
129 <xs:complexType name="ProblemActionType" mixed="false">
131 <xs:element ref="tns:Action" minOccurs="0"/>
132 <xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
134 <xs:anyAttribute namespace="##other" processContents="lax"/>