presentationService.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ps
  5. (C) Copyright IBM Corp. 2005, 2020
  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. <service name="presentationService" class="com.cognos.pogo.services.SoapActionHandlerService" loadPriority="98" registerInCM="true" CMdefaultName="PresentationService" logStartStop="false">
  13. <prerequisites>
  14. <prerequisite disabledProperty="xtscrnIsEnabled"/>
  15. <prerequisite disabledProperty="dispIsEnabled"/>
  16. </prerequisites>
  17. <handlers>
  18. <handler name="xts_handler" classname="com.cognos.xts.request.XTSDispatcherRequestHandler" request_root_name="request" response_root_name="response" cleanup_list="cleanup"/>
  19. <handler name="xtscaf_handler" classname="com.cognos.xts.baltic.validation.XTSValidationHandler" request_root_name="request"/>
  20. <handler name="xts_request_dumper" classname="com.cognos.pogo.handlers.debug.DumpXMLHandler" xml_name="request.envelope" filename="\xts_request.xml"/>
  21. <handler name="xts_response_dumper" classname="com.cognos.pogo.handlers.debug.DumpXMLHandler" xml_name="response.envelope" filename="\xts_response.xml"/>
  22. <handler name="presentationServiceReporter" classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler" publisherName="pogoPublisher" reporterName="PresentationService" serviceType="presentationService" skip_on_fault="false"/>
  23. <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="presentationService" skip_on_fault="false"/>
  24. <!-- handler for xts requests that does authentication -->
  25. <handler name="xts_chain_auth" classname="com.cognos.pogo.handlers.regulate.RegulateRequestHandler" regulatedThreshold="0" blockedThreshold="0" requestTimeout="50" redirectPage="/locale_busy.html" regulated_handler="presentationService.auth_check" attributeName="xts.regulate"/>
  26. <handler name="auth_check" classname="com.cognos.pogo.auth.NewAuthHandler" wrapped_auth_check="presentationService.unregulated_xts_chain_auth" check_fault="false"/>
  27. <handler name="unregulated_xts_chain_auth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  28. <chain>
  29. <handler_ref name="pogo.original_auth_check"/>
  30. <handler_ref name="xtscaf_handler"/>
  31. <xxxhandler_ref name="xts_request_dumper"/>
  32. <_reqlog_handler_ref name="reqlog.preXTS"/>
  33. <handler_ref name="xts_handler"/>
  34. <_reqlog_handler_ref name="reqlog.postXTS"/>
  35. <xxxhandler_ref name="xts_response_dumper"/>
  36. <handler_ref name="pogo.respond"/>
  37. <handler_ref name="presentationServiceReporter"/>
  38. </chain>
  39. </handler>
  40. <!-- handlers for xtscps operations that require authentication -->
  41. <handler name="xtscps_handler" classname="com.cognos.xts.request.XTSNonBusDispatcherRequestHandler" request_root_name="request" response_root_name="response" cleanup_list="cleanup"/>
  42. <handler name="prepare_wsrp_fault_response" classname="com.cognos.cps.bseries.pogo.WsrpFaultResponseHandler" cn_fault_envelope="" cn_response="response" skip_on_fault="false"/>
  43. <handler name="modify_cam_action_handler" classname="com.cognos.cps.bseries.pogo.ModifyCAMActionHandler" request_root_name="request" cam_action="logonAs"/>
  44. <handler name="cps_modify_locale" classname="com.cognos.cps.bseries.pogo.ModifyLocaleHandler" request_root_name="request" request_locale="locale"/>
  45. <!-- handler for cps xts requests that requires authentication -->
  46. <handler name="xtscps_chain_auth" classname="com.cognos.pogo.handlers.regulate.RegulateRequestHandler" regulatedThreshold="0" blockedThreshold="0" requestTimeout="50" redirectPage="/locale_busy.html" regulated_handler="presentationService.unregulated_xtscps_chain_auth" attributeName="xts.regulate"/>
  47. <handler name="unregulated_xtscps_chain_auth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  48. <chain>
  49. <handler_ref name="cps_modify_locale"/>
  50. <!-- enable this handler to have named user access to ReportNet for CPS when anonymous access is enabled in ReportNet -->
  51. <xxxhandler_ref name="modify_cam_action_handler"/>
  52. <handler_ref name="pogo.auth_check"/>
  53. <xxxhandler_ref name="xts_request_dumper"/>
  54. <_reqlog_handler_ref name="reqlog.preXTS"/>
  55. <handler_ref name="xtscps_handler"/>
  56. <_reqlog_handler_ref name="reqlog.postXTS"/>
  57. <xxxhandler_ref name="xts_response_dumper"/>
  58. <handler_ref name="pogo.respond"/>
  59. <handler_ref name="prepare_wsrp_fault_response"/>
  60. </chain>
  61. </handler>
  62. <!-- handler for cps xts requests that require no authentication -->
  63. <handler name="xtscps_chain_noauth" classname="com.cognos.pogo.handlers.regulate.RegulateRequestHandler" regulatedThreshold="0" blockedThreshold="0" requestTimeout="50" redirectPage="/locale_busy.html" regulated_handler="presentationService.unregulated_xtscps_chain_noauth" attributeName="xts.regulate"/>
  64. <handler name="unregulated_xtscps_chain_noauth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  65. <chain>
  66. <handler_ref name="cps_modify_locale"/>
  67. <xxxhandler_ref name="xts_request_dumper"/>
  68. <_reqlog_handler_ref name="reqlog.preXTS"/>
  69. <handler_ref name="xtscps_handler"/>
  70. <_reqlog_handler_ref name="reqlog.postXTS"/>
  71. <xxxhandler_ref name="xts_response_dumper"/>
  72. <handler_ref name="pogo.respond"/>
  73. <handler_ref name="prepare_wsrp_fault_response"/>
  74. </chain>
  75. </handler>
  76. <!-- handler for cps request to get the wsdl document (requires no authentication)-->
  77. <handler name="xtscps_wsdl_chain_noauth" classname="com.cognos.pogo.handlers.regulate.RegulateRequestHandler" regulatedThreshold="0" blockedThreshold="0" requestTimeout="50" redirectPage="/locale_busy.html" regulated_handler="presentationService.unregulated_xtscps_wsdl_chain_noauth" attributeName="xts.regulate"/>
  78. <handler name="unregulated_xtscps_wsdl_chain_noauth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  79. <chain>
  80. <xxxhandler_ref name="xts_request_dumper"/>
  81. <_reqlog_handler_ref name="reqlog.preXTS"/>
  82. <handler_ref name="xts_handler"/>
  83. <_reqlog_handler_ref name="reqlog.postXTS"/>
  84. <xxxhandler_ref name="xts_response_dumper"/>
  85. <handler_ref name="pogo.respond"/>
  86. <handler_ref name="prepare_wsrp_fault_response"/>
  87. </chain>
  88. </handler>
  89. <!-- handlers for xtsdiag -->
  90. <handler name="xtsdiag_handler" classname="com.cognos.xts.request.XTSDiagnosticHandler" request_root_name="request" response_root_name="response" cleanup_list="cleanup"/>
  91. <!-- handler for xts diagnostic requests that does no authentication -->
  92. <handler name="xtsdiag_chain_noauth" classname="com.cognos.pogo.handlers.regulate.RegulateRequestHandler" regulatedThreshold="0" blockedThreshold="0" requestTimeout="50" redirectPage="/locale_busy.html" regulated_handler="presentationService.unregulated_xtsdiag_chain_noauth" attributeName="xts.regulate"/>
  93. <handler name="unregulated_xtsdiag_chain_noauth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  94. <chain>
  95. <xxxhandler_ref name="xts_request_dumper"/>
  96. <_reqlog_handler_ref name="reqlog.preXTS"/>
  97. <handler_ref name="xtsdiag_handler"/>
  98. <_reqlog_handler_ref name="reqlog.postXTS"/>
  99. <xxxhandler_ref name="xts_response_dumper"/>
  100. <handler_ref name="pogo.respond"/>
  101. </chain>
  102. </handler>
  103. <!-- Cognos Viewer -->
  104. <handler name="cognosViewerHandler" classname="com.cognos.viewer.controller.CognosViewerDispatcherHandler"/>
  105. <handler name="cognosViewerChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  106. <chain>
  107. <handler_ref name="pogo.auth_check"/>
  108. <handler_ref name="cognosViewerHandler"/>
  109. <handler_ref name="pogo.respond"/>
  110. <handler_ref name="presentationServiceReporter"/>
  111. </chain>
  112. </handler>
  113. <!-- Cognos Viewer Expeditor -->
  114. <handler name="cognosViewerExpeditorHandler" classname="com.cognos.viewer.controller.expeditor.CognosViewerExpeditorDispatcherHandler"/>
  115. <handler name="cognosViewerExpeditorChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  116. <chain>
  117. <handler_ref name="pogo.auth_check"/>
  118. <handler_ref name="cognosViewerExpeditorHandler"/>
  119. <handler_ref name="pogo.respond"/>
  120. <handler_ref name="presentationServiceReporter"/>
  121. </chain>
  122. </handler>
  123. <!-- Fragment Producer -->
  124. <handler name="fragmentServiceHandler" classname="com.cognos.portal.fragment.service.FragmentService" application="fragments"/>
  125. <handler name="fragmentChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  126. <chain>
  127. <handler_ref name="pogo.auth_check"/>
  128. <handler_ref name="fragmentServiceHandler"/>
  129. <handler_ref name="pogo.respond"/>
  130. </chain>
  131. </handler>
  132. <!-- Fragment WSRP -->
  133. <handler name="fragmentToWSRPServiceHandler" classname="com.cognos.portal.fragment.service.WSRPService" application="fragmentwsrp"/>
  134. <handler name="fragmentToWSRPChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  135. <chain>
  136. <handler_ref name="pogo.auth_check"/>
  137. <handler_ref name="fragmentToWSRPServiceHandler"/>
  138. <handler_ref name="pogo.respond"/>
  139. </chain>
  140. </handler>
  141. <handler name="fragmentToWSRPChainHandlerNoAuth" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  142. <chain>
  143. <handler_ref name="fragmentToWSRPServiceHandler"/>
  144. <handler_ref name="pogo.respond"/>
  145. </chain>
  146. </handler>
  147. <!-- CogAdmin -->
  148. <handler name="cogadminServiceHandler" classname="com.cognos.admin.service.CogAdminService" application="cogadmin"/>
  149. <handler name="cogadminChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  150. <chain>
  151. <handler_ref name="pogo.auth_check"/>
  152. <handler_ref name="cogadminServiceHandler"/>
  153. <handler_ref name="pogo.respond"/>
  154. </chain>
  155. </handler>
  156. <!-- CSS -->
  157. <handler name="cssServiceHandler" classname="com.cognos.portal.service.CssService"/>
  158. <handler name="cssChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  159. <chain>
  160. <handler_ref name="pogo.auth_check"/>
  161. <handler_ref name="cssServiceHandler"/>
  162. <handler_ref name="pogo.respond"/>
  163. </chain>
  164. </handler>
  165. <!-- Generic Portlet -->
  166. <handler name="portletServiceHandler" classname="com.cognos.cps.portlet.service.PortletService"/>
  167. <handler name="portletChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  168. <chain>
  169. <handler_ref name="pogo.auth_check"/>
  170. <handler_ref name="portletServiceHandler"/>
  171. <handler_ref name="pogo.respond"/>
  172. </chain>
  173. </handler>
  174. <!-- Fragment Server -->
  175. <handler name="dashboardServiceHandler" classname="com.cognos.portal.fragment.service.DashboardService" application="dashboard"/>
  176. <handler name="myportalServiceHandler" classname="com.cognos.portal.fragment.service.DashboardService" application="myportal"/>
  177. <handler name="dashboardChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  178. <chain>
  179. <handler_ref name="pogo.auth_check"/>
  180. <handler_ref name="dashboardServiceHandler"/>
  181. <handler_ref name="pogo.respond"/>
  182. </chain>
  183. </handler>
  184. <handler name="myportalChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  185. <chain>
  186. <handler_ref name="pogo.auth_check"/>
  187. <handler_ref name="myportalServiceHandler"/>
  188. <handler_ref name="pogo.respond"/>
  189. </chain>
  190. </handler>
  191. <!-- Atom feed -->
  192. <handler name="atomServiceHandler" classname="com.cognos.atom.service.AtomService" application="atom"/>
  193. <handler name="atomChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  194. <chain>
  195. <handler_ref name="pogo.auth_check"/>
  196. <handler_ref name="atomServiceHandler"/>
  197. <handler_ref name="pogo.respond"/>
  198. </chain>
  199. </handler>
  200. <!-- Remote fragment -->
  201. <handler name="remoteFragmentHandler" classname="com.cognos.portal.fragment.service.RemoteFragment" request_root_name="request" response_root_name="response"/>
  202. <handler name="remoteFragmentChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  203. <chain>
  204. <handler_ref name="pogo.auth_check"/>
  205. <handler_ref name="remoteFragmentHandler"/>
  206. <handler_ref name="pogo.respond"/>
  207. </chain>
  208. </handler>
  209. </handlers>
  210. <soapActions>
  211. <!-- the regular mapping -->
  212. <soapAction path="xts.run" handler="presentationService.xts_chain_auth"/>
  213. <soapAction path="onebox" handler="presentationService.xts_chain_auth"/>
  214. <soapAction path="iwidget" handler="presentationService.xts_chain_auth"/>
  215. <soapAction path="cm" handler="presentationService.xts_chain_auth"/>
  216. <soapAction path="find" handler="presentationService.xts_chain_auth"/>
  217. <soapAction path="rsvp" handler="presentationService.xts_chain_auth"/>
  218. <soapAction path="mda" handler="presentationService.xts_chain_auth"/>
  219. <soapAction path="xts.diag" handler="presentationService.xtsdiag_chain_noauth"/>
  220. <soapAction path="cps.run" handler="presentationService.xtscps_chain_noauth"/>
  221. <soapAction path="cps.wsdl" handler="presentationService.xtscps_wsdl_chain_noauth"/>
  222. <soapAction path="nav.run" handler="presentationService.xtscps_chain_auth"/>
  223. <soapAction path="nav.wsdl" handler="presentationService.xtscps_wsdl_chain_noauth"/>
  224. <soapAction path="urn:oasis:names:tc:wsrp:v1:getMarkup" handler="presentationService.xtscps_chain_auth"/>
  225. <soapAction path="urn:oasis:names:tc:wsrp:v1:performBlockingInteraction" handler="presentationService.xtscps_chain_auth"/>
  226. <soapAction path="urn:oasis:names:tc:wsrp:v1:releaseSessions" handler="presentationService.xtscps_chain_noauth"/>
  227. <soapAction path="urn:oasis:names:tc:wsrp:v1:initCookie" handler="presentationService.xtscps_chain_auth"/>
  228. <soapAction path="urn:oasis:names:tc:wsrp:v1:getServiceDescription" handler="presentationService.xtscps_chain_noauth"/>
  229. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletDescription" handler="presentationService.xtscps_chain_noauth"/>
  230. <soapAction path="urn:oasis:names:tc:wsrp:v1:clonePortlet" handler="presentationService.xtscps_chain_noauth"/>
  231. <soapAction path="urn:oasis:names:tc:wsrp:v1:destroyPortlets" handler="presentationService.xtscps_chain_noauth"/>
  232. <soapAction path="urn:oasis:names:tc:wsrp:v1:setPortletProperties" handler="presentationService.xtscps_chain_noauth"/>
  233. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletProperties" handler="presentationService.xtscps_chain_noauth"/>
  234. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletPropertyDescription" handler="presentationService.xtscps_chain_noauth"/>
  235. <soapAction path="urn:oasis:names:tc:wsrp:v1:register" handler="presentationService.xtscps_chain_noauth"/>
  236. <soapAction path="urn:oasis:names:tc:wsrp:v1:deregister" handler="presentationService.xtscps_chain_noauth"/>
  237. <soapAction path="urn:oasis:names:tc:wsrp:v1:modifyRegistration" handler="presentationService.xtscps_chain_noauth"/>
  238. <!-- Fragment Producer -->
  239. <soapAction path="fragments" handler="presentationService.fragmentChainHandler"/>
  240. <!-- Fragment WSRP -->
  241. <soapAction path="fragment.wsrp" handler="presentationService.fragmentToWSRPChainHandler"/>
  242. <soapAction path="fragment.wsrp.noauth" handler="presentationService.fragmentToWSRPChainHandlerNoAuth"/>
  243. <!-- CogAdmin -->
  244. <soapAction path="cogadmin" handler="presentationService.cogadminChainHandler"/>
  245. <!-- Fragment Server -->
  246. <soapAction path="dashboard" handler="presentationService.dashboardChainHandler"/>
  247. <soapAction path="myportal" handler="presentationService.myportalChainHandler"/>
  248. <!-- Atom feed -->
  249. <soapAction path="atom" handler="presentationService.atomChainHandler"/>
  250. <!-- always add a ".high" version -->
  251. <soapAction path="xts.run.high" handler="presentationService.xts_chain_auth"/>
  252. <soapAction path="xts.diag.high" handler="presentationService.xtsdiag_chain_noauth"/>
  253. <soapAction path="cps.run.high" handler="presentationService.xtscps_chain_noauth"/>
  254. <soapAction path="cps.wsdl.high" handler="presentationService.xtscps_wsdl_chain_noauth"/>
  255. <soapAction path="nav.run.high" handler="presentationService.xtscps_chain_auth"/>
  256. <soapAction path="nav.wsdl.high" handler="presentationService.xtscps_wsdl_chain_noauth"/>
  257. <soapAction path="urn:oasis:names:tc:wsrp:v1:getMarkup.high" handler="presentationService.xtscps_chain_auth"/>
  258. <soapAction path="urn:oasis:names:tc:wsrp:v1:performBlockingInteraction.high" handler="presentationService.xtscps_chain_auth"/>
  259. <soapAction path="urn:oasis:names:tc:wsrp:v1:releaseSessions.high" handler="presentationService.xtscps_chain_noauth"/>
  260. <soapAction path="urn:oasis:names:tc:wsrp:v1:initCookie.high" handler="presentationService.xtscps_chain_auth"/>
  261. <soapAction path="urn:oasis:names:tc:wsrp:v1:getServiceDescription.high" handler="presentationService.xtscps_chain_noauth"/>
  262. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletDescription.high" handler="presentationService.xtscps_chain_noauth"/>
  263. <soapAction path="urn:oasis:names:tc:wsrp:v1:clonePortlet.high" handler="presentationService.xtscps_chain_noauth"/>
  264. <soapAction path="urn:oasis:names:tc:wsrp:v1:destroyPortlets.high" handler="presentationService.xtscps_chain_noauth"/>
  265. <soapAction path="urn:oasis:names:tc:wsrp:v1:setPortletProperties.high" handler="presentationService.xtscps_chain_noauth"/>
  266. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletProperties.high" handler="presentationService.xtscps_chain_noauth"/>
  267. <soapAction path="urn:oasis:names:tc:wsrp:v1:getPortletPropertyDescription.high" handler="presentationService.xtscps_chain_noauth"/>
  268. <soapAction path="urn:oasis:names:tc:wsrp:v1:register.high" handler="presentationService.xtscps_chain_noauth"/>
  269. <soapAction path="urn:oasis:names:tc:wsrp:v1:deregister.high" handler="presentationService.xtscps_chain_noauth"/>
  270. <soapAction path="urn:oasis:names:tc:wsrp:v1:modifyRegistration.high" handler="presentationService.xtscps_chain_noauth"/>
  271. <!-- Fragment Producer -->
  272. <soapAction path="fragments.high" handler="presentationService.fragmentChainHandler"/>
  273. <!-- Fragment WSRP -->
  274. <soapAction path="fragment.wsrp.high" handler="presentationService.fragmentToWSRPChainHandler"/>
  275. <soapAction path="fragment.wsrp.noauth.high" handler="presentationService.fragmentToWSRPChainHandlerNoAuth"/>
  276. <!-- CogAdmin -->
  277. <soapAction path="cogadmin.high" handler="presentationService.cogadminChainHandler"/>
  278. <!-- Css -->
  279. <soapAction path="css" handler="presentationService.cssChainHandler"/>
  280. <soapAction path="css.high" handler="presentationService.cssChainHandler"/>
  281. <!-- Generic Portlet -->
  282. <soapAction path="portlet" handler="presentationService.portletChainHandler"/>
  283. <soapAction path="portlet.high" handler="presentationService.portletChainHandler"/>
  284. <!-- Fragment Server -->
  285. <soapAction path="dashboard.high" handler="presentationService.dashboardChainHandler"/>
  286. <soapAction path="myportal.high" handler="presentationService.myportalChainHandler"/>
  287. <!-- Atom feed -->
  288. <soapAction path="atom.high" handler="presentationService.atomChainHandler"/>
  289. <!-- Cognos Viewer -->
  290. <soapAction path="cognosViewer" handler="presentationService.cognosViewerChainHandler"/>
  291. <soapAction path="cvx" handler="presentationService.cognosViewerExpeditorChainHandler"/>
  292. <soapAction path="cvx.high" handler="presentationService.cognosViewerExpeditorChainHandler"/>
  293. <!-- Remote fragment -->
  294. <soapAction path="fragment.remote" handler="presentationService.remoteFragmentChainHandler"/>
  295. </soapActions>
  296. <attributes>
  297. <attribute>advancedSettings</attribute>
  298. </attributes>
  299. </service>