WS Addressing

Table of Contents

top

Schema Document Properties

Target Namespace http://www.w3.org/2005/08/addressing
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
tns http://www.w3.org/2005/08/addressing
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified">
...
</xs:schema>
top

Global Declarations

Attribute: IsReferenceParameter

Name IsReferenceParameter
Type xs:boolean
XML Instance Representation
tns:IsReferenceParameter="xs:boolean"
Schema Component Representation
<xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
top

Element: Action

Name Action
Type tns:AttributedURIType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:Action>
xs:anyURI
</tns:Action>
Schema Component Representation
<xs:element name="Action" type="tns:AttributedURIType"/>
top

Element: EndpointReference

Name EndpointReference
Type tns:EndpointReferenceType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:EndpointReference
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Address> tns:AttributedURIType </tns:Address> [1]
<tns:Metadata> ... </tns:Metadata> [0..1]
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</tns:EndpointReference>
Schema Component Representation
<xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
top

Element: FaultTo

Name FaultTo
Type tns:EndpointReferenceType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:FaultTo
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Address> tns:AttributedURIType </tns:Address> [1]
<tns:Metadata> ... </tns:Metadata> [0..1]
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</tns:FaultTo>
Schema Component Representation
<xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
top

Element: From

Name From
Type tns:EndpointReferenceType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:From
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Address> tns:AttributedURIType </tns:Address> [1]
<tns:Metadata> ... </tns:Metadata> [0..1]
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</tns:From>
Schema Component Representation
<xs:element name="From" type="tns:EndpointReferenceType"/>
top

Element: MessageID

Name MessageID
Type tns:AttributedURIType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:MessageID>
xs:anyURI
</tns:MessageID>
Schema Component Representation
<xs:element name="MessageID" type="tns:AttributedURIType"/>
top

Element: Metadata

Name Metadata
Type tns:MetadataType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:Metadata
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from any namespace (lax validation). [0..*]
</tns:Metadata>
Schema Component Representation
<xs:element name="Metadata" type="tns:MetadataType"/>
top

Element: ProblemAction

Name ProblemAction
Type tns:ProblemActionType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:ProblemAction
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Action> ... </tns:Action> [0..1]
<tns:SoapAction> xs:anyURI </tns:SoapAction> [0..1]
</tns:ProblemAction>
Schema Component Representation
<xs:element name="ProblemAction" type="tns:ProblemActionType"/>
top

Element: ProblemHeaderQName

Name ProblemHeaderQName
Type tns:AttributedQNameType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:ProblemHeaderQName>
xs:QName
</tns:ProblemHeaderQName>
Schema Component Representation
<xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
top

Element: ProblemIRI

Name ProblemIRI
Type tns:AttributedURIType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:ProblemIRI>
xs:anyURI
</tns:ProblemIRI>
Schema Component Representation
<xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
top

Element: ReferenceParameters

Name ReferenceParameters
Type tns:ReferenceParametersType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:ReferenceParameters
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from any namespace (lax validation). [0..*]
</tns:ReferenceParameters>
Schema Component Representation
<xs:element name="ReferenceParameters" type="tns:ReferenceParametersType"/>
top

Element: RelatesTo

Name RelatesTo
Type tns:RelatesToType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:RelatesTo
RelationshipType="tns:RelationshipTypeOpenEnum [0..1]"
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
xs:anyURI
</tns:RelatesTo>
Schema Component Representation
<xs:element name="RelatesTo" type="tns:RelatesToType"/>
top

Element: ReplyTo

Name ReplyTo
Type tns:EndpointReferenceType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:ReplyTo
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Address> tns:AttributedURIType </tns:Address> [1]
<tns:Metadata> ... </tns:Metadata> [0..1]
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</tns:ReplyTo>
Schema Component Representation
<xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
top

Element: RetryAfter

Name RetryAfter
Type tns:AttributedUnsignedLongType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:RetryAfter>
xs:unsignedLong
</tns:RetryAfter>
Schema Component Representation
<xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
top

Element: To

Name To
Type tns:AttributedURIType
Nillable no
Abstract no
Disallowed Substitutions restriction, extension, substitution
XML Instance Representation
<tns:To>
xs:anyURI
</tns:To>
Schema Component Representation
<xs:element name="To" type="tns:AttributedURIType"/>
top

Global Definitions

Complex Type: AttributedQNameType

Super-types: xs:QName < AttributedQNameType (by extension)
Sub-types: None
Name AttributedQNameType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...>
xs:QName
</...>
Schema Component Representation
<xs:complexType name="AttributedQNameType">
<xs:simpleContent>
<xs:extension base="xs:QName">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: AttributedURIType

Super-types: xs:anyURI < AttributedURIType (by extension)
Sub-types: None
Name AttributedURIType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...>
xs:anyURI
</...>
Schema Component Representation
<xs:complexType name="AttributedURIType">
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: AttributedUnsignedLongType

Super-types: xs:unsignedLong < AttributedUnsignedLongType (by extension)
Sub-types: None
Name AttributedUnsignedLongType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...>
xs:unsignedLong
</...>
Schema Component Representation
<xs:complexType name="AttributedUnsignedLongType">
<xs:simpleContent>
<xs:extension base="xs:unsignedLong">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
top

Complex Type: EndpointReferenceType

Super-types: None
Sub-types: None
Name EndpointReferenceType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Address> tns:AttributedURIType </tns:Address> [1]
<tns:Metadata> ... </tns:Metadata> [0..1]
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="EndpointReferenceType">
<xs:sequence>
<xs:element name="Address" type="tns:AttributedURIType"/>
<xs:element ref="tns:ReferenceParameters" 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>
top

Complex Type: MetadataType

Super-types: None
Sub-types: None
Name MetadataType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="MetadataType">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
top

Complex Type: ProblemActionType

Super-types: None
Sub-types: None
Name ProblemActionType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<tns:Action> ... </tns:Action> [0..1]
<tns:SoapAction> xs:anyURI </tns:SoapAction> [0..1]
</...>
Schema Component Representation
<xs:complexType name="ProblemActionType">
<xs:sequence>
<xs:element ref="tns:Action" minOccurs="0"/>
<xs:element name="SoapAction" type="xs:anyURI" minOccurs="0"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
top

Complex Type: ReferenceParametersType

Super-types: None
Sub-types: None
Name ReferenceParametersType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xs:complexType name="ReferenceParametersType">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
top

Complex Type: RelatesToType

Super-types: xs:anyURI < RelatesToType (by extension)
Sub-types: None
Name RelatesToType
Abstract no
Prohibited Substitutions restriction, extension
XML Instance Representation
<...
RelationshipType="tns:RelationshipTypeOpenEnum [0..1]"
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
xs:anyURI
</...>
Schema Component Representation
<xs:complexType name="RelatesToType">
<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>
top

Simple Type: FaultCodesOpenEnumType

Super-types: None
Sub-types: None
Name FaultCodesOpenEnumType
Content
Schema Component Representation
<xs:simpleType name="FaultCodesOpenEnumType">
<xs:union memberTypes="tns:FaultCodesType xs:QName"/>
</xs:simpleType>
top

Simple Type: FaultCodesType

Super-types: xs:QName < FaultCodesType (by restriction)
Sub-types: None
Name FaultCodesType
Content
  • Built-in XSD Type: QName
  • value = {'tns:InvalidAddressingHeader'|'tns:InvalidAddress'|'tns:InvalidEPR'|'tns:InvalidCardinality'|'tns:MissingAddressInEPR'|'tns:DuplicateMessageID'|'tns:ActionMismatch'|'tns:MessageAddressingHeaderRequired'|'tns:DestinationUnreachable'|'tns:ActionNotSupported'|'tns:EndpointUnavailable'}
Schema Component Representation
<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>
top

Simple Type: RelationshipType

Super-types: xs:anyURI < RelationshipType (by restriction)
Sub-types: None
Name RelationshipType
Content
  • Built-in XSD Type: anyURI
  • value = {'http://www.w3.org/2005/08/addressing/reply'}
Schema Component Representation
<xs:simpleType name="RelationshipType">
<xs:restriction base="xs:anyURI">
<xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: RelationshipTypeOpenEnum

Super-types: None
Sub-types: None
Name RelationshipTypeOpenEnum
Content
Schema Component Representation
<xs:simpleType name="RelationshipTypeOpenEnum">
<xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
</xs:simpleType>
top

Legend

Complex Type: AusAddress
Schema Component Type Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

  • The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
  • Model group information are shown in gray, e.g. Start Choice ... End Choice.
  • For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold.
  • If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
  • Otherwise, the type of the element/attribute is displayed.
    • If the element/attribute's type is in the schema, a link is provided to it.
    • For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top

Generated by xs3p.