get-report.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <SOAP-ENV:Envelope
  3. xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
  4. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  5. xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
  6. xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  7. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  8. xmlns:bus='http://developer.cognos.com/schemas/bibus/3/'
  9. xmlns:rns1='http://developer.cognos.com/schemas/reportService/1'>
  10. <SOAP-ENV:Header>
  11. <bus:biBusHeader xsi:type="bus:biBusHeader">
  12. <bus:CAM xsi:type="bus:CAM">
  13. <authenticityToken xsi:type="xsd:base64Binary">{{cam}}</authenticityToken>
  14. </bus:CAM>
  15. <bus:CAF xsi:type="bus:CAF">
  16. <contextID xsi:type="xsd:string">{{caf}}</contextID>
  17. </bus:CAF>
  18. <bus:hdrSession xsi:type="bus:hdrSession">
  19. <bus:formFieldVars SOAP-ENC:arrayType="bus:formFieldVar[]" xsi:type="SOAP-ENC:Array">
  20. <item xsi:type="bus:formFieldVar">
  21. <name xsi:type="xsd:string">_ContextBlockSize</name>
  22. <value xsi:type="xsd:string">1000000</value>
  23. </item>
  24. <item xsi:type="bus:formFieldVar">
  25. <name xsi:type="xsd:string">ignoreXHTMLStrict</name>
  26. <value xsi:type="xsd:string">true</value>
  27. </item>
  28. </bus:formFieldVars>
  29. </bus:hdrSession>
  30. <bus:userPreferenceVars SOAP-ENC:arrayType="bus:userPreferenceVar[]" xsi:type="SOAP-ENC:Array">
  31. <item>
  32. <bus:name xsi:type="xsd:string">productLocale</bus:name>
  33. <bus:value xsi:type="xsd:string">de</bus:value>
  34. </item>
  35. <item>
  36. <bus:name xsi:type="xsd:string">contentLocale</bus:name>
  37. <bus:value xsi:type="xsd:string">de-de</bus:value>
  38. </item>
  39. </bus:userPreferenceVars>
  40. <bus:dispatcherTransportVars xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:dispatcherTransportVar[]">
  41. <item xsi:type="bus:dispatcherTransportVar">
  42. <name xsi:type="xsd:string">rs</name>
  43. <value xsi:type="xsd:string">true</value>
  44. </item>
  45. </bus:dispatcherTransportVars>
  46. <bus:tracking
  47. xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
  48. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="bus:tracking">{{tracking}}</bus:tracking>
  49. </bus:biBusHeader>
  50. </SOAP-ENV:Header>
  51. <SOAP-ENV:Body>
  52. <rns1:run>
  53. <bus:objectPath xsi:type="bus:searchPathSingleObject">storeID(&quot;{{report.id}}&quot;)</bus:objectPath>
  54. <bus:parameterValues
  55. xmlns:bus='http://developer.cognos.com/schemas/bibus/3/'
  56. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  57. xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/' SOAP-ENC:arrayType="bus:parameterValue[{{report.params|count}}]" xsi:type="SOAP-ENC:Array">
  58. {% for key, p in report.params.items() %}
  59. <item xsi:type="bus:parameterValue">
  60. <bus:name xsi:type="xs:string">{{key}}</bus:name>
  61. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parmValueItem[{{p|count}}]">
  62. {% for item in p %}
  63. <item xsi:type="bus:simpleParmValueItem">
  64. <bus:inclusive xsi:type="xs:boolean">true</bus:inclusive>
  65. <bus:display xsi:type="xs:string">{{item.display}}</bus:display>
  66. <bus:use xsi:type="xs:string">{{item.use}}</bus:use>
  67. </item>
  68. {% endfor %}
  69. </bus:value>
  70. </item>
  71. {% endfor %}
  72. </bus:parameterValues>
  73. <bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">
  74. <item xsi:type="bus:genericOptionAnyURI">
  75. <bus:name xsi:type="xsd:string">runOptionEnum#globalParameters</bus:name>
  76. <bus:value xsi:type="xsd:string">[]</bus:value>
  77. </item>
  78. <item xsi:type="bus:asynchOptionInt">
  79. <bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>
  80. <bus:value xsi:type="xsd:int">500</bus:value>
  81. </item>
  82. <item xsi:type="bus:asynchOptionInt">
  83. <bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>
  84. <bus:value xsi:type="xsd:int">30</bus:value>
  85. </item>
  86. <item xsi:type="bus:runOptionStringArray">
  87. <bus:name xsi:type="bus:runOptionEnum">outputFormat</bus:name>
  88. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
  89. <item>{{format}}</item>
  90. </bus:value>
  91. </item>
  92. <item xsi:type="bus:asynchOptionEncoding">
  93. <bus:name xsi:type="bus:asynchOptionEnum">attachmentEncoding</bus:name>
  94. <bus:value xsi:type="bus:encodingEnum">MIME</bus:value>
  95. </item>
  96. <item xsi:type="bus:runOptionAnyURI">
  97. <bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name>
  98. <bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>
  99. </item>
  100. <item xsi:type="bus:runOptionString">
  101. <bus:name xsi:type="bus:runOptionEnum">promptFormat</bus:name>
  102. <bus:value xsi:type="xsd:string">XHTMLFRGMT</bus:value>
  103. </item>
  104. <item xsi:type="bus:runOptionBoolean">
  105. <bus:name xsi:type="bus:runOptionEnum">prompt</bus:name>
  106. <bus:value xsi:type="xsd:boolean">{{prompt}}</bus:value>
  107. </item>
  108. <item xsi:type="bus:runOptionAnyURI">
  109. <bus:name xsi:type="bus:runOptionEnum">outputLocation</bus:name>
  110. <bus:value xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/temporaryObjectLocationEnum#serverFileSystem</bus:value>
  111. </item>
  112. <item xsi:type="bus:runOptionData">
  113. <bus:name xsi:type="bus:runOptionEnum">data</bus:name>
  114. <bus:value xsi:type="bus:dataEnum">runWithAllData</bus:value>
  115. </item>
  116. <item xsi:type="bus:genericOptionBoolean">
  117. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures</bus:name>
  118. <bus:value xsi:type="xsd:boolean">false</bus:value>
  119. </item>
  120. <item xsi:type="bus:genericOptionBoolean">
  121. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/biDirectionalOptionEnum#biDirectionalFeaturesEnabled</bus:name>
  122. <bus:value xsi:type="xsd:boolean">false</bus:value>
  123. </item>
  124. <item xsi:type="bus:runOptionBoolean">
  125. <bus:name xsi:type="bus:runOptionEnum">returnOutputWhenAvailable</bus:name>
  126. <bus:value xsi:type="xsd:boolean">true</bus:value>
  127. </item>
  128. <item xsi:type="bus:runOptionNameValueArray">
  129. <bus:name xsi:type="bus:runOptionEnum">xslParameters</bus:name>
  130. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:nameValue[]">
  131. <item xsi:type="bus:nameValue">
  132. <name xsi:type="xsd:string">CVGateway</name>
  133. <value xsi:type="xsd:string">../v1/disp</value>
  134. </item>
  135. <item xsi:type="bus:nameValue">
  136. <name xsi:type="xsd:string">renderIntermediateXML</name>
  137. <value xsi:type="xsd:string">false</value>
  138. </item>
  139. <item xsi:type="bus:nameValue">
  140. <name xsi:type="xsd:string">renderEnvironment</name>
  141. <value xsi:type="xsd:string">false</value>
  142. </item>
  143. </bus:value>
  144. </item>
  145. <item xsi:type="bus:genericOptionBoolean">
  146. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#interactive</bus:name>
  147. <bus:value xsi:type="xsd:boolean">true</bus:value>
  148. </item>
  149. <item xsi:type="bus:genericOptionAnyURI">
  150. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>
  151. <bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>
  152. </item>
  153. </bus:options>
  154. </rns1:run>
  155. </SOAP-ENV:Body>
  156. </SOAP-ENV:Envelope>