ws-addr.xsd 5.7 KB

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