get_report.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <SOAP-ENV:Envelope
  2. xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
  3. xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  4. 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/'
  58. SOAP-ENC:arrayType="bus:parameterValue[{{params|count}}]" xsi:type="SOAP-ENC:Array">
  59. {% for key, p in params.items() %}
  60. <item xsi:type="bus:parameterValue">
  61. <bus:name xsi:type="xs:string">{{key}}</bus:name>
  62. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parmValueItem[{{p|count}}]">
  63. {% for use, display in p.items() %}
  64. <item xsi:type="bus:simpleParmValueItem">
  65. <bus:inclusive xsi:type="xs:boolean">true</bus:inclusive>
  66. <bus:display xsi:type="xs:string">{{display}}</bus:display>
  67. <bus:use xsi:type="xs:string">{{use}}</bus:use>
  68. </item>
  69. {% endfor %}
  70. </bus:value>
  71. </item>
  72. {% endfor %}
  73. </bus:parameterValues>
  74. <bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">
  75. <item xsi:type="bus:genericOptionAnyURI">
  76. <bus:name xsi:type="xsd:string">runOptionEnum#globalParameters</bus:name>
  77. <bus:value xsi:type="xsd:string">[]</bus:value>
  78. </item>
  79. <item xsi:type="bus:asynchOptionInt">
  80. <bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>
  81. <bus:value xsi:type="xsd:int">600</bus:value>
  82. </item>
  83. <item xsi:type="bus:asynchOptionInt">
  84. <bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>
  85. <bus:value xsi:type="xsd:int">600</bus:value>
  86. </item>
  87. <item xsi:type="bus:runOptionStringArray">
  88. <bus:name xsi:type="bus:runOptionEnum">outputFormat</bus:name>
  89. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
  90. <item>{{format}}</item>
  91. </bus:value>
  92. </item>
  93. <item xsi:type="bus:asynchOptionEncoding">
  94. <bus:name xsi:type="bus:asynchOptionEnum">attachmentEncoding</bus:name>
  95. <bus:value xsi:type="bus:encodingEnum">MIME</bus:value>
  96. </item>
  97. <item xsi:type="bus:runOptionAnyURI">
  98. <bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name>
  99. <bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>
  100. </item>
  101. <item xsi:type="bus:runOptionString">
  102. <bus:name xsi:type="bus:runOptionEnum">promptFormat</bus:name>
  103. <bus:value xsi:type="xsd:string">XHTMLFRGMT</bus:value>
  104. </item>
  105. <item xsi:type="bus:runOptionBoolean">
  106. <bus:name xsi:type="bus:runOptionEnum">prompt</bus:name>
  107. <bus:value xsi:type="xsd:boolean">{{prompt}}</bus:value>
  108. </item>
  109. <item xsi:type="bus:runOptionAnyURI">
  110. <bus:name xsi:type="bus:runOptionEnum">outputLocation</bus:name>
  111. <bus:value xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/temporaryObjectLocationEnum#serverFileSystem</bus:value>
  112. </item>
  113. <item xsi:type="bus:runOptionData">
  114. <bus:name xsi:type="bus:runOptionEnum">data</bus:name>
  115. <bus:value xsi:type="bus:dataEnum">runWithAllData</bus:value>
  116. </item>
  117. <item xsi:type="bus:genericOptionBoolean">
  118. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures</bus:name>
  119. <bus:value xsi:type="xsd:boolean">false</bus:value>
  120. </item>
  121. <item xsi:type="bus:genericOptionBoolean">
  122. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/biDirectionalOptionEnum#biDirectionalFeaturesEnabled</bus:name>
  123. <bus:value xsi:type="xsd:boolean">false</bus:value>
  124. </item>
  125. <item xsi:type="bus:runOptionBoolean">
  126. <bus:name xsi:type="bus:runOptionEnum">returnOutputWhenAvailable</bus:name>
  127. <bus:value xsi:type="xsd:boolean">true</bus:value>
  128. </item>
  129. <item xsi:type="bus:runOptionNameValueArray">
  130. <bus:name xsi:type="bus:runOptionEnum">xslParameters</bus:name>
  131. <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:nameValue[]">
  132. <item xsi:type="bus:nameValue">
  133. <name xsi:type="xsd:string">CVGateway</name>
  134. <value xsi:type="xsd:string">../v1/disp</value>
  135. </item>
  136. <item xsi:type="bus:nameValue">
  137. <name xsi:type="xsd:string">renderIntermediateXML</name>
  138. <value xsi:type="xsd:string">false</value>
  139. </item>
  140. <item xsi:type="bus:nameValue">
  141. <name xsi:type="xsd:string">renderEnvironment</name>
  142. <value xsi:type="xsd:string">false</value>
  143. </item>
  144. </bus:value>
  145. </item>
  146. <item xsi:type="bus:genericOptionBoolean">
  147. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#interactive</bus:name>
  148. <bus:value xsi:type="xsd:boolean">true</bus:value>
  149. </item>
  150. <item xsi:type="bus:genericOptionAnyURI">
  151. <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>
  152. <bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>
  153. </item>
  154. </bus:options>
  155. </rns1:run>
  156. </SOAP-ENV:Body>
  157. </SOAP-ENV:Envelope>