services.xsd 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: disp
  5. (C) Copyright IBM Corp. 2005 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  9. <xs:element name="service">
  10. <xs:annotation>
  11. <xs:documentation>Defines a Dispatcher Service</xs:documentation>
  12. </xs:annotation>
  13. <xs:complexType>
  14. <xs:sequence>
  15. <xs:element name="handlers">
  16. <xs:complexType>
  17. <xs:sequence>
  18. <xs:element name="handler" maxOccurs="unbounded">
  19. <xs:complexType>
  20. <xs:sequence>
  21. <xs:element name="chain" minOccurs="0">
  22. <xs:complexType>
  23. <xs:sequence>
  24. <xs:element name="handler_ref" maxOccurs="unbounded">
  25. <xs:complexType>
  26. <xs:attribute name="name" type="xs:string" use="required"/>
  27. <xs:attribute name="skip_on_fault" type="xs:boolean" use="optional" default="true"/>
  28. </xs:complexType>
  29. </xs:element>
  30. </xs:sequence>
  31. </xs:complexType>
  32. </xs:element>
  33. </xs:sequence>
  34. <xs:attributeGroup ref="baseAttributes"/>
  35. <xs:attributeGroup ref="asyncToolkitAttributes"/>
  36. <xs:attributeGroup ref="logicAttributes"/>
  37. <xs:attributeGroup ref="runtimePublishingAttributes"/>
  38. </xs:complexType>
  39. </xs:element>
  40. </xs:sequence>
  41. </xs:complexType>
  42. </xs:element>
  43. <xs:element name="soapActions">
  44. <xs:complexType>
  45. <xs:sequence>
  46. <xs:element name="soapAction" maxOccurs="unbounded">
  47. <xs:complexType>
  48. <xs:attribute name="path" type="xs:string" use="required"/>
  49. <xs:attribute name="handler" type="xs:string" use="required"/>
  50. </xs:complexType>
  51. </xs:element>
  52. </xs:sequence>
  53. </xs:complexType>
  54. </xs:element>
  55. <xs:element name="attributes" minOccurs="0">
  56. <xs:complexType>
  57. <xs:sequence>
  58. <xs:element name="attribute" maxOccurs="unbounded"/>
  59. </xs:sequence>
  60. </xs:complexType>
  61. </xs:element>
  62. <xs:element name="prerequisites" minOccurs="0">
  63. <xs:complexType>
  64. <xs:sequence>
  65. <xs:element name="prerequisite" maxOccurs="unbounded">
  66. <xs:complexType>
  67. <xs:attribute name="disabledProperty" type="xs:string" use="optional"/>
  68. <xs:attribute name="fileExists" type="xs:string" use="optional"/>
  69. </xs:complexType>
  70. </xs:element>
  71. </xs:sequence>
  72. </xs:complexType>
  73. </xs:element>
  74. </xs:sequence>
  75. <xs:attribute name="name" type="xs:string" use="required"/>
  76. <xs:attribute name="class" type="xs:string" use="required"/>
  77. <xs:attribute name="loadPriority" type="xs:integer" use="optional"/>
  78. <xs:attribute name="unloadPriority" type="xs:integer" use="optional"/>
  79. <xs:attribute name="registerInCM" type="xs:boolean" use="optional" default="false"/>
  80. <xs:attribute name="CMdefaultName" type="xs:string" use="optional"/>
  81. <xs:attribute name="logStartStop" type="xs:boolean" use="optional" default="true"/>
  82. </xs:complexType>
  83. </xs:element>
  84. <xs:element name="studio">
  85. <xs:annotation>
  86. <xs:documentation>Defines studio availability</xs:documentation>
  87. </xs:annotation>
  88. <xs:complexType>
  89. <xs:attribute name="name" type="xs:string" use="required"/>
  90. <xs:attribute name="registerInCM" type="xs:boolean" use="optional" default="false"/>
  91. </xs:complexType>
  92. </xs:element>
  93. <xs:attributeGroup name="asyncToolkitAttributes">
  94. <xs:annotation>
  95. <xs:documentation>Attributes used by "com.cognos.pogo.async.impl.AsyncHandler"</xs:documentation>
  96. </xs:annotation>
  97. <xs:attribute name="threadBaseName" type="xs:string" use="optional"/>
  98. <xs:attribute name="expiryCheckIntervalms" type="xs:nonNegativeInteger" use="optional"/>
  99. <xs:attribute name="abandonLimit" type="xs:nonNegativeInteger" use="optional"/>
  100. <xs:attribute name="graceLimit" type="xs:nonNegativeInteger" use="optional"/>
  101. <xs:attribute name="wrappedHandler" type="xs:string" use="optional"/>
  102. <xs:attribute name="onCompletionHandler" type="xs:string" use="optional"/>
  103. <xs:attribute name="requestDuration" type="xs:nonNegativeInteger" use="optional"/>
  104. <xs:attribute name="connectionProperty" type="xs:string" use="optional"/>
  105. <xs:attribute name="peakConnectionProperty" type="xs:string" use="optional"/>
  106. </xs:attributeGroup>
  107. <xs:attributeGroup name="baseAttributes">
  108. <xs:annotation>
  109. <xs:documentation>Base common attributes used by handlers</xs:documentation>
  110. </xs:annotation>
  111. <xs:attribute name="name" type="xs:string" use="required"/>
  112. <xs:attribute name="classname" type="xs:string" use="required"/>
  113. <xs:attribute name="dispatcherStateHandler" type="xs:string" use="optional"/>
  114. <xs:attribute name="serviceName" type="xs:string" use="optional"/>
  115. <xs:attribute name="skip_on_fault" type="xs:boolean" use="optional"/>
  116. <xs:attribute name="cleanup_list" type="xs:string" use="optional" default="cleanup"/>
  117. </xs:attributeGroup>
  118. <xs:attributeGroup name="runtimePublishingAttributes">
  119. <xs:annotation>
  120. <xs:documentation>Attributes used by the RuntimeInfo publishing handlers</xs:documentation>
  121. </xs:annotation>
  122. <xs:attribute name="publisherName" type="xs:string" use="optional"/>
  123. <xs:attribute name="reporterName" type="xs:string" use="optional"/>
  124. <xs:attribute name="serviceType" type="xs:string" use="optional"/>
  125. </xs:attributeGroup>
  126. <xs:attributeGroup name="logicAttributes">
  127. <xs:annotation>
  128. <xs:documentation>Attributes used by the IFHandler</xs:documentation>
  129. </xs:annotation>
  130. <xs:attribute name="if_prop" type="xs:string" use="optional"/>
  131. <xs:attribute name="if_handler" type="xs:string" use="optional"/>
  132. <xs:attribute name="else_handler" type="xs:string" use="optional"/>
  133. </xs:attributeGroup>
  134. </xs:schema>