addressing 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0"?>
  2. <!--
  3. Copyright © 2002-2004 BEA Systems Inc., International Business Machines Corporation,
  4. Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved.
  5. Permission to copy, display, perform, modify and distribute the WS-Addressing Specification,
  6. and to authorize others to do the foregoing, in any medium without fee or royalty is hereby
  7. granted for the purpose of developing and evaluating the WS-Addressing Specification.
  8. BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree
  9. to grant a license to third parties, under royalty-free and otherwise reasonable,
  10. non-discriminatory terms and conditions, to their respective essential patent claims that
  11. they deem necessary to implement the WS-Addressing Specification.
  12. DISCLAIMERS:
  13. THE WS-Addressing Specification IS PROVIDED "AS IS", AND THE AUTHORS MAKE NO REPRESENTATIONS
  14. OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF
  15. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE
  16. CONTENTS OF THE WS-Addressing Specification IS SUITABLE FOR ANY PURPOSE; NOR THAT THE
  17. IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
  18. TRADEMARKS OR OTHER RIGHTS.
  19. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
  20. DAMAGES ARISING OUT OF ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR
  21. IMPLEMENTATION OF THE CONTENTS THEREOF.
  22. You may remove these disclaimers from your modified versions of the WS-Addressing
  23. Specification provided that you effectively disclaim all warranties and liabilities on behalf
  24. of all copyright holders in the copies of any such modified versions you distribute.
  25. The name and trademarks of the Authors may NOT be used in any manner, including advertising
  26. or publicity pertaining to the WS-Addressing Specification or its contents without specific,
  27. written prior permission. Title to copyright in the WS-Addressing Specification will at all
  28. times remain with the Authors.
  29. No other rights are granted by implication, estoppel or otherwise.
  30. -->
  31. <xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all">
  32. <!-- //////////////////// WS-Addressing //////////////////// -->
  33. <!-- Endpoint reference -->
  34. <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
  35. <xs:complexType name="EndpointReferenceType">
  36. <xs:sequence>
  37. <xs:element name="Address" type="wsa:AttributedURI"/>
  38. <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
  39. <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/>
  40. <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
  41. <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
  42. <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
  43. <xs:annotation>
  44. <xs:documentation>
  45. If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
  46. </xs:documentation>
  47. </xs:annotation>
  48. </xs:any>
  49. </xs:sequence>
  50. <xs:anyAttribute namespace="##other" processContents="lax"/>
  51. </xs:complexType>
  52. <xs:complexType name="ReferencePropertiesType">
  53. <xs:sequence>
  54. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  55. </xs:sequence>
  56. </xs:complexType>
  57. <xs:complexType name="ReferenceParametersType">
  58. <xs:sequence>
  59. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  60. </xs:sequence>
  61. </xs:complexType>
  62. <xs:complexType name="ServiceNameType">
  63. <xs:simpleContent>
  64. <xs:extension base="xs:QName">
  65. <xs:attribute name="PortName" type="xs:NCName"/>
  66. <xs:anyAttribute namespace="##other" processContents="lax"/>
  67. </xs:extension>
  68. </xs:simpleContent>
  69. </xs:complexType>
  70. <!-- Message information header blocks -->
  71. <xs:element name="MessageID" type="wsa:AttributedURI"/>
  72. <xs:element name="RelatesTo" type="wsa:Relationship"/>
  73. <xs:element name="To" type="wsa:AttributedURI"/>
  74. <xs:element name="Action" type="wsa:AttributedURI"/>
  75. <xs:element name="From" type="wsa:EndpointReferenceType"/>
  76. <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
  77. <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
  78. <xs:complexType name="Relationship">
  79. <xs:simpleContent>
  80. <xs:extension base="xs:anyURI">
  81. <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
  82. <xs:anyAttribute namespace="##other" processContents="lax"/>
  83. </xs:extension>
  84. </xs:simpleContent>
  85. </xs:complexType>
  86. <xs:simpleType name="RelationshipTypeValues">
  87. <xs:restriction base="xs:QName">
  88. <xs:enumeration value="wsa:Reply"/>
  89. </xs:restriction>
  90. </xs:simpleType>
  91. <!--
  92. June 19, 2007: The ReplyAfter element is deprecated. The name of this element does not match the
  93. name (RetryAfter) used in the specification (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/).
  94. -->
  95. <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/>
  96. <xs:complexType name="ReplyAfterType">
  97. <xs:simpleContent>
  98. <xs:extension base="xs:nonNegativeInteger">
  99. <xs:anyAttribute namespace="##other"/>
  100. </xs:extension>
  101. </xs:simpleContent>
  102. </xs:complexType>
  103. <!--
  104. June 19, 2007: The RetryAfter element has been added to be consistent with the specification
  105. (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/).
  106. -->
  107. <xs:element name="RetryAfter" type="wsa:RetryAfterType"/>
  108. <xs:complexType name="RetryAfterType">
  109. <xs:simpleContent>
  110. <xs:extension base="xs:nonNegativeInteger">
  111. <xs:anyAttribute namespace="##other"/>
  112. </xs:extension>
  113. </xs:simpleContent>
  114. </xs:complexType>
  115. <xs:simpleType name="FaultSubcodeValues">
  116. <xs:restriction base="xs:QName">
  117. <xs:enumeration value="wsa:InvalidMessageInformationHeader"/>
  118. <xs:enumeration value="wsa:MessageInformationHeaderRequired"/>
  119. <xs:enumeration value="wsa:DestinationUnreachable"/>
  120. <xs:enumeration value="wsa:ActionNotSupported"/>
  121. <xs:enumeration value="wsa:EndpointUnavailable"/>
  122. </xs:restriction>
  123. </xs:simpleType>
  124. <xs:attribute name="Action" type="xs:anyURI"/>
  125. <!-- Common declarations and definitions -->
  126. <xs:complexType name="AttributedQName">
  127. <xs:simpleContent>
  128. <xs:extension base="xs:QName">
  129. <xs:anyAttribute namespace="##other" processContents="lax"/>
  130. </xs:extension>
  131. </xs:simpleContent>
  132. </xs:complexType>
  133. <xs:complexType name="AttributedURI">
  134. <xs:simpleContent>
  135. <xs:extension base="xs:anyURI">
  136. <xs:anyAttribute namespace="##other" processContents="lax"/>
  137. </xs:extension>
  138. </xs:simpleContent>
  139. </xs:complexType>
  140. </xs:schema>