envelope 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!-- Schema for the SOAP/1.1 envelope
  3. Portions © 2001 DevelopMentor.
  4. © 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
  5. This document is governed by the W3C Software License [1] as described in the FAQ [2].
  6. [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
  7. [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
  8. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions:
  9. Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make:
  10. 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
  11. 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
  12. 3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)
  13. Original W3C files; http://www.w3.org/2001/06/soap-envelope
  14. Changes made:
  15. - reverted namespace to http://schemas.xmlsoap.org/soap/envelope/
  16. - reverted mustUnderstand to only allow 0 and 1 as lexical values
  17. - made encodingStyle a global attribute 20020825
  18. - removed default value from mustUnderstand attribute declaration
  19. THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
  20. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
  21. The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.
  22. -->
  23. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  24. xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/"
  25. targetNamespace="http://schemas.xmlsoap.org/soap/envelope/" >
  26. <!-- Envelope, header and body -->
  27. <xs:element name="Envelope" type="tns:Envelope" />
  28. <xs:complexType name="Envelope" >
  29. <xs:sequence>
  30. <xs:element ref="tns:Header" minOccurs="0" />
  31. <xs:element ref="tns:Body" minOccurs="1" />
  32. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  33. </xs:sequence>
  34. <xs:anyAttribute namespace="##other" processContents="lax" />
  35. </xs:complexType>
  36. <xs:element name="Header" type="tns:Header" />
  37. <xs:complexType name="Header" >
  38. <xs:sequence>
  39. <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  40. </xs:sequence>
  41. <xs:anyAttribute namespace="##other" processContents="lax" />
  42. </xs:complexType>
  43. <xs:element name="Body" type="tns:Body" />
  44. <xs:complexType name="Body" >
  45. <xs:sequence>
  46. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  47. </xs:sequence>
  48. <xs:anyAttribute namespace="##any" processContents="lax" >
  49. <xs:annotation>
  50. <xs:documentation>
  51. Prose in the spec does not specify that attributes are allowed on the Body element
  52. </xs:documentation>
  53. </xs:annotation>
  54. </xs:anyAttribute>
  55. </xs:complexType>
  56. <!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. -->
  57. <xs:attribute name="mustUnderstand" >
  58. <xs:simpleType>
  59. <xs:restriction base='xs:boolean'>
  60. <xs:pattern value='0|1' />
  61. </xs:restriction>
  62. </xs:simpleType>
  63. </xs:attribute>
  64. <xs:attribute name="actor" type="xs:anyURI" />
  65. <xs:simpleType name="encodingStyle" >
  66. <xs:annotation>
  67. <xs:documentation>
  68. 'encodingStyle' indicates any canonicalization conventions followed in the contents of the containing element. For example, the value 'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in SOAP specification
  69. </xs:documentation>
  70. </xs:annotation>
  71. <xs:list itemType="xs:anyURI" />
  72. </xs:simpleType>
  73. <xs:attribute name="encodingStyle" type="tns:encodingStyle" />
  74. <xs:attributeGroup name="encodingStyle" >
  75. <xs:attribute ref="tns:encodingStyle" />
  76. </xs:attributeGroup>
  77. <xs:element name="Fault" type="tns:Fault" />
  78. <xs:complexType name="Fault" final="extension" >
  79. <xs:annotation>
  80. <xs:documentation>
  81. Fault reporting structure
  82. </xs:documentation>
  83. </xs:annotation>
  84. <xs:sequence>
  85. <xs:element name="faultcode" type="xs:QName" />
  86. <xs:element name="faultstring" type="xs:string" />
  87. <xs:element name="faultactor" type="xs:anyURI" minOccurs="0" />
  88. <xs:element name="detail" type="tns:detail" minOccurs="0" />
  89. </xs:sequence>
  90. </xs:complexType>
  91. <xs:complexType name="detail">
  92. <xs:sequence>
  93. <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  94. </xs:sequence>
  95. <xs:anyAttribute namespace="##any" processContents="lax" />
  96. </xs:complexType>
  97. </xs:schema>