mobile.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!--
  2. Licensed Materials - Property of IBM
  3. BI and PM: Mobile
  4. (C) Copyright IBM Corp. 2007, 2014
  5. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. -->
  7. <service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="mobileService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="MobileService">
  8. <prerequisites>
  9. <prerequisite disabledProperty="mobIsEnabled"/>
  10. </prerequisites>
  11. <handlers>
  12. <handler
  13. name="serviceStatus"
  14. classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler"
  15. dispatcherStateHandler="dispatcher.dispatcherStatusHandler"
  16. serviceName="mobileService"
  17. reportingHandler="mobileService.mobileServiceReporter"
  18. skip_on_fault="false"/>
  19. <handler
  20. name="mobileService"
  21. classname="com.cognos.pogo.async.impl.AsyncHandler"
  22. threadBaseName="mobileThread-"
  23. expiryCheckIntervalms="5000"
  24. abandonLimit="12"
  25. graceLimit="12"
  26. wrappedHandler="mobileService.mobileServiceHandler"
  27. skip_on_fault="false"
  28. onCompletionHandler="mobileService.mobileServiceReporter"
  29. maxThreads="5"/>
  30. <handler
  31. name="mobileServiceHandler"
  32. classname="com.cognos.mobile.server.bus.MobileHandler"
  33. reportingHandler="mobileService.mobileServiceReporter"
  34. skip_on_fault="false"/>
  35. <handler
  36. name="mobileServiceReporter"
  37. classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler"
  38. publisherName="pogoPublisher"
  39. reporterName="mobileServiceReporter"
  40. serviceType="mobileService"
  41. skip_on_fault="false"/>
  42. <handler
  43. name="mobilePrepareForRedispatch"
  44. classname="com.cognos.mobile.server.bus.PrepareForRedispatchHandler"/>
  45. <handler name="mobileRedispatchChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  46. <chain>
  47. <handler_ref name="mobilePrepareForRedispatch"/>
  48. <handler_ref name="bal.load_balancer"/>
  49. </chain>
  50. </handler>
  51. <handler name="mobileNormalResponseChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  52. <chain>
  53. <handler_ref name="bridge.response"/>
  54. <handler_ref name="pogo.respond"/>
  55. </chain>
  56. </handler>
  57. <handler name="ifRedispatchRequested"
  58. classname="com.cognos.pogo.handlers.logic.IfElseHandler"
  59. if_prop="mob_redispatch"
  60. if_handler="mobileService.mobileRedispatchChain"
  61. else_handler="mobileService.mobileNormalResponseChain"/>
  62. <!-- Set all requests to mobileService to use the latest version of the soapAction -->
  63. <handler name="soapActionVersioner" classname="com.cognos.mobile.server.bus.SOAPActionVersioningHandler"/>
  64. <handler name="mobileChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
  65. <chain>
  66. <handler_ref name="pogo.auth_check"/>
  67. <handler_ref name="soapActionVersioner"/>
  68. <handler_ref name="bridge.request"/>
  69. <handler_ref name="mobileService"/>
  70. <handler_ref name="ifRedispatchRequested"/>
  71. <handler_ref name="mobileServiceReporter"/>
  72. </chain>
  73. </handler>
  74. <!-- this handler replaces information that was formerly in bal.xml, but allows mobile
  75. to own its own load balancing configuration, and add new SOAPactions. -->
  76. <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
  77. <service name="mobileService">
  78. <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
  79. <soapAction>mobileService</soapAction>
  80. <soapAction>mobileService.absolute</soapAction>
  81. <soapAction>http://developer.cognos.com/schemas/mobileService/1</soapAction>
  82. <soapAction>http://developer.cognos.com/schemas/mobileService/1.session</soapAction>
  83. <soapAction>http://developer.cognos.com/schemas/mobileService/1.absolute</soapAction>
  84. <soapAction>http://developer.cognos.com/schemas/mobileService/1.control</soapAction>
  85. <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/</soapAction>
  86. <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.session</soapAction>
  87. <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.absolute</soapAction>
  88. <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.control</soapAction>
  89. </service>
  90. </handler>
  91. </handlers>
  92. <soapActions>
  93. <soapAction path="mobileService" handler="mobileService.mobileChainHandler"/>
  94. <soapAction path="mobileService.absolute" handler="mobileService.mobileChainHandler"/>
  95. <soapAction path="http://developer.cognos.com/schemas/mobileService/1" handler="mobileService.mobileChainHandler"/>
  96. <soapAction path="http://developer.cognos.com/schemas/mobileService/1.session" handler="mobileService.mobileChainHandler"/>
  97. <soapAction path="http://developer.cognos.com/schemas/mobileService/1.absolute" handler="mobileService.mobileChainHandler"/>
  98. <soapAction path="http://developer.cognos.com/schemas/mobileService/1.control" handler="mobileService.mobileChainHandler"/>
  99. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/" handler="mobileService.mobileChainHandler"/>
  100. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.session" handler="mobileService.mobileChainHandler"/>
  101. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.absolute" handler="mobileService.mobileChainHandler"/>
  102. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.control" handler="mobileService.mobileChainHandler"/>
  103. </soapActions>
  104. <attributes>
  105. <attribute type="global">mobileConfiguration</attribute>
  106. <attribute>advancedSettings</attribute>
  107. <attribute>mbsAuditLevel</attribute>
  108. </attributes>
  109. </service>