summaryrefslogtreecommitdiff
path: root/java/management/client/src/main/java/wsdl/WS-Addressing-2005_08.xsd
blob: 04b4a688b3746bdc52885a05624e877ee04ba853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?xml version="1.0" encoding="utf-8"?>
<!--
 
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 
-->

<xs:schema 
	targetNamespace="http://www.w3.org/2005/08/addressing" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:tns="http://www.w3.org/2005/08/addressing" 
	elementFormDefault="qualified" 
	attributeFormDefault="unqualified">

	<!-- Constructs from the WS-Addressing Core -->

	<xs:element name="EndpointReference"
		type="tns:EndpointReferenceType" />
	<xs:complexType name="EndpointReferenceType" mixed="false">
		<xs:sequence>
			<xs:element name="Address" type="tns:AttributedURIType" />
			<xs:element name="ReferenceParameters"
				type="tns:ReferenceParametersType" minOccurs="0" />
			<xs:element ref="tns:Metadata" minOccurs="0" />
			<xs:any namespace="##other" processContents="lax"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax" />
	</xs:complexType>

	<xs:complexType name="ReferenceParametersType" mixed="false">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax" />
	</xs:complexType>

	<xs:element name="Metadata" type="tns:MetadataType" />
	<xs:complexType name="MetadataType" mixed="false">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax" />
	</xs:complexType>

	<xs:element name="MessageID" type="tns:AttributedURIType" />
	<xs:element name="RelatesTo" type="tns:RelatesToType" />
	<xs:complexType name="RelatesToType" mixed="false">
		<xs:simpleContent>
			<xs:extension base="xs:anyURI">
				<xs:attribute name="RelationshipType"
					type="tns:RelationshipTypeOpenEnum" use="optional"
					default="http://www.w3.org/2005/08/addressing/reply" />
				<xs:anyAttribute namespace="##other"
					processContents="lax" />
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>

	<xs:simpleType name="RelationshipTypeOpenEnum">
		<xs:union memberTypes="tns:RelationshipType xs:anyURI" />
	</xs:simpleType>

	<xs:simpleType name="RelationshipType">
		<xs:restriction base="xs:anyURI">
			<xs:enumeration
				value="http://www.w3.org/2005/08/addressing/reply" />
		</xs:restriction>
	</xs:simpleType>

	<xs:element name="ReplyTo" type="tns:EndpointReferenceType" />
	<xs:element name="From" type="tns:EndpointReferenceType" />
	<xs:element name="FaultTo" type="tns:EndpointReferenceType" />
	<xs:element name="To" type="tns:AttributedURIType" />
	<xs:element name="Action" type="tns:AttributedURIType" />

	<xs:complexType name="AttributedURIType" mixed="false">
		<xs:simpleContent>
			<xs:extension base="xs:anyURI">
				<xs:anyAttribute namespace="##other"
					processContents="lax" />
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>

	<!-- Constructs from the WS-Addressing SOAP binding -->

	<xs:attribute name="IsReferenceParameter" type="xs:boolean" />

	<xs:simpleType name="FaultCodesOpenEnumType">
		<xs:union memberTypes="tns:FaultCodesType xs:QName" />
	</xs:simpleType>

	<xs:simpleType name="FaultCodesType">
		<xs:restriction base="xs:QName">
			<xs:enumeration value="tns:InvalidAddressingHeader" />
			<xs:enumeration value="tns:InvalidAddress" />
			<xs:enumeration value="tns:InvalidEPR" />
			<xs:enumeration value="tns:InvalidCardinality" />
			<xs:enumeration value="tns:MissingAddressInEPR" />
			<xs:enumeration value="tns:DuplicateMessageID" />
			<xs:enumeration value="tns:ActionMismatch" />
			<xs:enumeration value="tns:MessageAddressingHeaderRequired" />
			<xs:enumeration value="tns:DestinationUnreachable" />
			<xs:enumeration value="tns:ActionNotSupported" />
			<xs:enumeration value="tns:EndpointUnavailable" />
		</xs:restriction>
	</xs:simpleType>

	<xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType" />
	<xs:complexType name="AttributedUnsignedLongType" mixed="false">
		<xs:simpleContent>
			<xs:extension base="xs:unsignedLong">
				<xs:anyAttribute namespace="##other"
					processContents="lax" />
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>

	<xs:element name="ProblemHeaderQName"
		type="tns:AttributedQNameType" />
	<xs:complexType name="AttributedQNameType" mixed="false">
		<xs:simpleContent>
			<xs:extension base="xs:QName">
				<xs:anyAttribute namespace="##other"
					processContents="lax" />
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>

	<xs:element name="ProblemHeader" type="tns:AttributedAnyType" />
	<xs:complexType name="AttributedAnyType" mixed="false">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax"
				minOccurs="1" maxOccurs="1" />
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax" />
	</xs:complexType>

	<xs:element name="ProblemIRI" type="tns:AttributedURIType" />

	<xs:element name="ProblemAction" type="tns:ProblemActionType" />
	<xs:complexType name="ProblemActionType" mixed="false">
		<xs:sequence>
			<xs:element ref="tns:Action" minOccurs="0" />
			<xs:element name="SoapAction" minOccurs="0"
				type="xs:anyURI" />
		</xs:sequence>
		<xs:anyAttribute namespace="##other" processContents="lax" />
	</xs:complexType>

</xs:schema>