asyncRequest.xts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: cogadmin
  5. (C) Copyright IBM Corp. 2005, 2016
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <!--
  13. Input elements
  14. <provider></provider> eventManagementService or monitorService (more will be added when needed)
  15. <request></request>
  16. <specification></specification>
  17. <parameters></parameters>
  18. <options></options>
  19. <releaseConversation></releaseConversation> true = release conversation with monitor service
  20. -->
  21. <xts:morphlet xmlns:xts="http://developer.cognos.com/schemas/xts/">
  22. <!--
  23. releaseConversation - special case were we have a conversation but we're execution a runSpecification request. This
  24. happens when the user changes filters or the sort order.
  25. -->
  26. <xts:block id="releaseConversation" mode="interpret" processor="XSLT" type="exec" condition=".[(/root/command/*[local-name()='asyncRequest']/conversation != '' and /root/command/*[local-name()='asyncRequest']/request = 'runSpecification') or (/root/command/*[local-name()='asyncRequest']/conversation != '' and /root/command/*[local-name()='asyncRequest']/releaseConversation = 'true')]" mandatory="false">
  27. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  28. xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
  29. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  30. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  31. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  32. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  33. xmlns:async="http://developer.cognos.com/schemas/xts/cogadmin/iAsyncRequest/1/"
  34. xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  35. exclude-result-prefixes="bus xsi xsd xtsext SOAP-ENV SOAP-ENC async">
  36. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  37. <xsl:key name="env-param" match="/root/env/param" use="@name"/>
  38. <xsl:variable name="provider" select="/root/command/async:asyncRequest/provider"/>
  39. <xsl:variable name="providerNamespace">
  40. <xsl:choose>
  41. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201101/</xsl:when>
  42. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201101/</xsl:when>
  43. </xsl:choose>
  44. </xsl:variable>
  45. <xsl:variable name="soapAction">
  46. <xsl:choose>
  47. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201610/.absolute</xsl:when>
  48. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201610/.absolute</xsl:when>
  49. </xsl:choose>
  50. </xsl:variable>
  51. <xsl:template match="/">
  52. <xts:sequence>
  53. <xts:append>
  54. <response>
  55. <xts:request href="bus://dispatcher" faultBlock="eatFault" protocol="BUS" soapAction="{$soapAction}" responseEnvelope="false" outputHeader="false">
  56. <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  57. <SOAP-ENV:Header>
  58. <bus:biBusHeader xsi:type="bus:biBusHeader" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  59. <xsl:if test="/root/command/async:asyncRequest/tracking != ''">
  60. <!-- use the round-tripped tracking information -->
  61. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/tracking)), true())" disable-output-escaping="yes"/>
  62. </xsl:if>
  63. <!-- We don't want to copy the tracking info in this case because we want a separate conversation for the metadata -->
  64. <xsl:apply-templates select="/root/header/bus:biBusHeader/*[local-name()!='tracking']"/>
  65. </bus:biBusHeader>
  66. </SOAP-ENV:Header>
  67. <SOAP-ENV:Body>
  68. <xsl:element name="release" namespace="{$providerNamespace}">
  69. <conversation xsi:type="bus:asynchRequest">
  70. <xts:transform name="XMLDecode">
  71. <xsl:value-of select="xtsext:web64decode(string(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/conversation))), true())"/>
  72. </xts:transform>
  73. </conversation>
  74. </xsl:element>
  75. </SOAP-ENV:Body>
  76. </SOAP-ENV:Envelope>
  77. </xts:request>
  78. </response>
  79. </xts:append>
  80. <!-- delete the conversation and tracking info from the DOM -->
  81. <xts:delete select="/root/command/*[local-name()='asyncRequest']/tracking | /root/command/*[local-name()='asyncRequest']/conversation"/>
  82. </xts:sequence>
  83. </xsl:template>
  84. <!-- used to copy the bus header stuff - see "apply-templates" above. -->
  85. <xsl:template match="*">
  86. <xsl:copy>
  87. <xsl:copy-of select="@*"/>
  88. <xsl:apply-templates/>
  89. </xsl:copy>
  90. </xsl:template>
  91. </xsl:stylesheet>
  92. </xts:block>
  93. <!--
  94. eatFault - eat up the fault and continue on
  95. -->
  96. <xts:block id="eatFault" type="fault" processor="XSLT">
  97. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  98. <xsl:output method="xml"/>
  99. <xsl:template match="/">
  100. <eatFault/>
  101. </xsl:template>
  102. </xsl:stylesheet>
  103. </xts:block>
  104. <!--
  105. runSpecification
  106. -->
  107. <xts:block id="doRequest" dependency="releaseConversation" mode="interpret" processor="XSLT" type="exec" condition=".[not(/root/command/*[local-name()='asyncRequest']/releaseConversation)]" mandatory="false">
  108. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  109. xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
  110. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  111. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  112. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  113. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  114. xmlns:async="http://developer.cognos.com/schemas/xts/cogadmin/iAsyncRequest/1/"
  115. xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  116. exclude-result-prefixes="bus xsi xsd xtsext SOAP-ENV SOAP-ENC async">
  117. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  118. <xsl:key name="env-param" match="/root/env/param" use="@name"/>
  119. <xsl:variable name="request" select="/root/command/async:asyncRequest/request"/>
  120. <!-- figure out what the affinity should be -->
  121. <xsl:variable name="affinity">
  122. <xsl:choose>
  123. <xsl:when test="$request='firstPage'">high</xsl:when>
  124. <xsl:when test="$request='lastPage'">high</xsl:when>
  125. <xsl:when test="$request='nextPage'">high</xsl:when>
  126. <xsl:when test="$request='previousPage'">high</xsl:when>
  127. <xsl:when test="$request='release'">absolute</xsl:when>
  128. <xsl:when test="$request='wait'">absolute</xsl:when>
  129. </xsl:choose>
  130. </xsl:variable>
  131. <xsl:variable name="provider" select="/root/command/async:asyncRequest/provider"/>
  132. <xsl:variable name="providerNamespace">
  133. <xsl:choose>
  134. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201101/</xsl:when>
  135. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201101/</xsl:when>
  136. </xsl:choose>
  137. </xsl:variable>
  138. <xsl:variable name="soapActionBase">
  139. <xsl:choose>
  140. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201610/</xsl:when>
  141. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201610/</xsl:when>
  142. </xsl:choose>
  143. </xsl:variable>
  144. <xsl:variable name="soapAction">
  145. <xsl:value-of select="$soapActionBase"/>
  146. <xsl:if test="$affinity != ''"><xsl:value-of select="concat('.', $affinity)"/></xsl:if>
  147. </xsl:variable>
  148. <xsl:template match="/">
  149. <xts:sequence>
  150. <xts:append>
  151. <response>
  152. <xts:request href="bus://dispatcher" protocol="BUS" soapAction="{$soapAction}" responseEnvelope="true" outputHeader="true">
  153. <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  154. <SOAP-ENV:Header>
  155. <bus:biBusHeader xsi:type="bus:biBusHeader" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  156. <xsl:if test="/root/command/async:asyncRequest/tracking != ''">
  157. <!-- use the round-tripped tracking information -->
  158. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/tracking)), true())" disable-output-escaping="yes"/>
  159. </xsl:if>
  160. <!-- We don't want to copy the tracking info in this case because we want a separate conversation for the metadata -->
  161. <xsl:apply-templates select="/root/header/bus:biBusHeader/*[local-name()!='tracking']"/>
  162. </bus:biBusHeader>
  163. </SOAP-ENV:Header>
  164. <SOAP-ENV:Body>
  165. <xsl:element name="{$request}" namespace="{$providerNamespace}">
  166. <xsl:choose>
  167. <xsl:when test="$request = 'runSpecification'">
  168. <xsl:copy-of select="/root/command/async:asyncRequest/specification/*"/>
  169. </xsl:when>
  170. <!-- must be doing a secondary request, use the conversation -->
  171. <xsl:otherwise>
  172. <conversation xsi:type="bus:asynchRequest">
  173. <xts:transform name="XMLDecode">
  174. <xsl:value-of select="xtsext:web64decode(string(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/conversation))), true())"/>
  175. </xts:transform>
  176. </conversation>
  177. </xsl:otherwise>
  178. </xsl:choose>
  179. <xsl:if test="$request != 'release'">
  180. <xsl:copy-of select="/root/command/async:asyncRequest/parameters/*"/>
  181. <xsl:copy-of select="/root/command/async:asyncRequest/options/*"/>
  182. </xsl:if>
  183. </xsl:element>
  184. </SOAP-ENV:Body>
  185. </SOAP-ENV:Envelope>
  186. </xts:request>
  187. </response>
  188. </xts:append>
  189. <xts:append>
  190. <xmlEncodedTracking>
  191. <xts:transform name="XMLEncode">
  192. <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='biBusHeader']/*[local-name() = 'tracking']"/>
  193. </xts:transform>
  194. </xmlEncodedTracking>
  195. <xmlEncodedConversation>
  196. <xts:transform name="XMLEncode">
  197. <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*/*[local-name()='result']/*[local-name()='primaryRequest']/*"/>
  198. </xts:transform>
  199. </xmlEncodedConversation>
  200. <!-- get the status of the conversation -->
  201. <status>
  202. <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[contains(local-name(), 'Response')]/*[local-name()='result']/*[local-name()='status']"/>
  203. </status>
  204. </xts:append>
  205. </xts:sequence>
  206. </xsl:template>
  207. <!-- used to copy the bus header stuff - see "apply-templates" above. -->
  208. <xsl:template match="*">
  209. <xsl:copy>
  210. <xsl:copy-of select="@*"/>
  211. <xsl:apply-templates/>
  212. </xsl:copy>
  213. </xsl:template>
  214. </xsl:stylesheet>
  215. </xts:block>
  216. <!--
  217. getOutput - only done if the status of the request is 'responseReady' (i.e. we've just done a wait)
  218. -->
  219. <xts:block id="getOutput" mode="interpret" processor="XSLT" type="exec" dependency="doRequest" condition=".[/root/status='responseReady' and not(/root/command/*[local-name()='asyncRequest']/releaseConversation)]" mandatory="false">
  220. <xsl:stylesheet version="1.0"
  221. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  222. xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
  223. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  224. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  225. xmlns:async="http://developer.cognos.com/schemas/xts/cogadmin/iAsyncRequest/1/"
  226. xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  227. xmlns:SOAP-ENV="http://www.w3.org/2001/09/soap-envelope"
  228. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  229. exclude-result-prefixes="send xsi xs async SOAP-ENC SOAP-ENV xtsext">
  230. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  231. <xsl:key name="env-param" match="/root/env/param" use="@name"/>
  232. <xsl:variable name="provider" select="/root/command/async:asyncRequest/provider"/>
  233. <xsl:variable name="providerNamespace">
  234. <xsl:choose>
  235. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201101/</xsl:when>
  236. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201101/</xsl:when>
  237. </xsl:choose>
  238. </xsl:variable>
  239. <xsl:variable name="soapAction">
  240. <xsl:choose>
  241. <xsl:when test="$provider = 'eventManagementService'">http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201610/.absolute</xsl:when>
  242. <xsl:when test="$provider = 'monitorService'">http://www.ibm.com/xmlns/prod/cognos/monitorService/201610/.absolute</xsl:when>
  243. </xsl:choose>
  244. </xsl:variable>
  245. <xsl:template match="/">
  246. <xts:sequence>
  247. <xts:replace select="/root/response">
  248. <response>
  249. <xts:request href="bus://dispatcher" protocol="BUS" soapAction="{$soapAction}" responseEnvelope="true" outputHeader="true">
  250. <SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  251. <SOAP-ENV:Header>
  252. <bus:biBusHeader xsi:type="bus:biBusHeader" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  253. <xsl:if test="/root/command/async:asyncRequest/tracking != ''">
  254. <!-- use the round-tripped tracking information -->
  255. <bus:tracking>
  256. <xsl:value-of select="xtsext:web64decode(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/tracking)), true())" disable-output-escaping="yes"/>
  257. </bus:tracking>
  258. </xsl:if>
  259. <!-- We don't want to copy the tracking info in this case because we want a separate conversation for the metadata -->
  260. <xsl:apply-templates select="/root/header/bus:biBusHeader/*[local-name()!='tracking']"/>
  261. </bus:biBusHeader>
  262. </SOAP-ENV:Header>
  263. <SOAP-ENV:Body>
  264. <xsl:element name="getOutput" namespace="{$providerNamespace}">
  265. <conversation xsi:type="bus:asynchRequest">
  266. <xts:transform name="XMLDecode">
  267. <xsl:value-of select="xtsext:web64decode(string(xtsext:cafaction('sign_unwrap', string(/root/command/async:asyncRequest/conversation))), true())"/>
  268. </xts:transform>
  269. </conversation>
  270. <parameterValues xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parameterValue[]"/>
  271. <options xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:option[]"/>
  272. </xsl:element>
  273. </SOAP-ENV:Body>
  274. </SOAP-ENV:Envelope>
  275. </xts:request>
  276. </response>
  277. </xts:replace>
  278. <xts:delete select="/root/status | /root/xmlEncodedTracking | /root/xmlEncodedConversation"/>
  279. <xts:append>
  280. <xmlEncodedTracking>
  281. <xts:transform name="XMLEncode">
  282. <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='biBusHeader']/*[local-name() = 'tracking']"/>
  283. </xts:transform>
  284. </xmlEncodedTracking>
  285. <xmlEncodedConversation>
  286. <xts:transform name="XMLEncode">
  287. <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='getOutputResponse']/*[local-name()='result']/*[local-name()='primaryRequest']/*"/>
  288. </xts:transform>
  289. </xmlEncodedConversation>
  290. <status>
  291. <xts:queryNode select="/root/response/*/*/*[local-name()='getOutputResponse']/*[local-name()='result']/*[local-name()='status']"/>
  292. </status>
  293. </xts:append>
  294. </xts:sequence>
  295. </xsl:template>
  296. <!-- used to copy the bus header stuff - see "apply-templates" above. -->
  297. <xsl:template match="*">
  298. <xsl:copy>
  299. <xsl:copy-of select="@*"/>
  300. <xsl:apply-templates/>
  301. </xsl:copy>
  302. </xsl:template>
  303. </xsl:stylesheet>
  304. </xts:block>
  305. <!--
  306. response block - add the results of the requests into the right place
  307. -->
  308. <xts:block id="response" dependency="getOutput doRequest" condition=".[not(/root/command/*[local-name()='asyncRequest']/releaseConversation)]" mode="output" mimeType="text/xml" processor="XSLT" type="exec" mandatory="false">
  309. <xsl:stylesheet version="1.0"
  310. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  311. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  312. xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  313. xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
  314. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  315. xmlns:xos="http://developer.cognos.com/schemas/xts/output/"
  316. exclude-result-prefixes="xtsext SOAP-ENV bus xsi xos">
  317. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  318. <xsl:template match="/root">
  319. <!-- get the passport -->
  320. <xsl:variable name="passport">
  321. <xsl:choose>
  322. <!-- pull the passport out of the bus header -->
  323. <xsl:when test="string(/root/credential/param[@name='CAM']/*[local-name() = 'CAM']/*[local-name() = 'CAMPassport']/*[local-name() = 'id']) != ''">
  324. <xsl:value-of select="/root/credential/param[@name='CAM']/*[local-name() = 'CAM']/*[local-name() = 'CAMPassport']/*[local-name() = 'id']"/>
  325. </xsl:when>
  326. <!-- if it's not there, see if it is still in the cookie -->
  327. <xsl:otherwise>
  328. <xsl:value-of select="/root/cookies/cookie[@name='cam_passport']"/>
  329. </xsl:otherwise>
  330. </xsl:choose>
  331. </xsl:variable>
  332. <xsl:variable name="status" select="/root/status"/>
  333. <asyncRequestResponse>
  334. <response>
  335. <xsl:copy-of select="/root/response/SOAP-ENV:Envelope/SOAP-ENV:Body/*"/>
  336. </response>
  337. <status><xsl:value-of select="$status"/></status>
  338. <tracking>
  339. <xsl:if test="string(/root/xmlEncodedTracking) != ''">
  340. <xsl:value-of select="xtsext:cafaction( concat('sign_wrap_setpassportid_', $passport), xtsext:web64encode(string(/root/xmlEncodedTracking), true()))"/>
  341. </xsl:if>
  342. </tracking>
  343. <conversation>
  344. <xsl:if test="string(/root/xmlEncodedConversation) != ''">
  345. <xsl:value-of select="xtsext:cafaction( concat('sign_wrap_setpassportid_', $passport), xtsext:web64encode(string(/root/xmlEncodedConversation), true()))"/>
  346. </xsl:if>
  347. </conversation>
  348. <!-- a copy of all the allowed secondary requests if the conversation is complete -->
  349. <xsl:if test="$status = 'conversationComplete' or $status = 'complete'">
  350. <secondaryRequests>
  351. <xsl:for-each select="/root/response/SOAP-ENV:Envelope/SOAP-ENV:Body/*/*[local-name()='result']/*[local-name()='secondaryRequests']/*[local-name()='item']">
  352. <secondaryRequest>
  353. <xsl:value-of select="./*[local-name()='name']"/>
  354. </secondaryRequest>
  355. </xsl:for-each>
  356. </secondaryRequests>
  357. </xsl:if>
  358. </asyncRequestResponse>
  359. </xsl:template>
  360. </xsl:stylesheet>
  361. </xts:block>
  362. </xts:morphlet>