123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <!--
- Licensed Materials - Property of IBM
- BI and PM: Mobile
- (C) Copyright IBM Corp. 2007, 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="mobileService" class="com.cognos.pogo.services.SoapActionHandlerService" registerInCM="true" CMdefaultName="MobileService">
- <prerequisites>
- <prerequisite disabledProperty="mobIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler
- name="serviceStatus"
- classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler"
- dispatcherStateHandler="dispatcher.dispatcherStatusHandler"
- serviceName="mobileService"
- reportingHandler="mobileService.mobileServiceReporter"
- skip_on_fault="false"/>
- <handler
- name="mobileService"
- classname="com.cognos.pogo.async.impl.AsyncHandler"
- threadBaseName="mobileThread-"
- expiryCheckIntervalms="5000"
- abandonLimit="12"
- graceLimit="12"
- wrappedHandler="mobileService.mobileServiceHandler"
- skip_on_fault="false"
- onCompletionHandler="mobileService.mobileServiceReporter"
- maxThreads="5"/>
- <handler
- name="mobileServiceHandler"
- classname="com.cognos.mobile.server.bus.MobileHandler"
- reportingHandler="mobileService.mobileServiceReporter"
- skip_on_fault="false"/>
- <handler
- name="mobileServiceReporter"
- classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler"
- publisherName="pogoPublisher"
- reporterName="mobileServiceReporter"
- serviceType="mobileService"
- skip_on_fault="false"/>
- <handler
- name="mobilePrepareForRedispatch"
- classname="com.cognos.mobile.server.bus.PrepareForRedispatchHandler"/>
- <handler name="mobileRedispatchChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="mobilePrepareForRedispatch"/>
- <handler_ref name="bal.load_balancer"/>
- </chain>
- </handler>
- <handler name="mobileNormalResponseChain" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="bridge.response"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- <handler name="ifRedispatchRequested"
- classname="com.cognos.pogo.handlers.logic.IfElseHandler"
- if_prop="mob_redispatch"
- if_handler="mobileService.mobileRedispatchChain"
- else_handler="mobileService.mobileNormalResponseChain"/>
- <!-- Set all requests to mobileService to use the latest version of the soapAction -->
- <handler name="soapActionVersioner" classname="com.cognos.mobile.server.bus.SOAPActionVersioningHandler"/>
- <handler name="mobileChainHandler" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="soapActionVersioner"/>
- <handler_ref name="bridge.request"/>
- <handler_ref name="mobileService"/>
- <handler_ref name="ifRedispatchRequested"/>
- <handler_ref name="mobileServiceReporter"/>
- </chain>
- </handler>
- <!-- this handler replaces information that was formerly in bal.xml, but allows mobile
- to own its own load balancing configuration, and add new SOAPactions. -->
- <handler name="remoteBalanceHandler" classname="com.cognos.p2plb.clerver.actions.RemoteBalanceHandler">
- <service name="mobileService">
- <forwarding delayBetweenAttempts="0" maxAttempts="1" retryOnNoProcess="false"/>
- <soapAction>mobileService</soapAction>
- <soapAction>mobileService.absolute</soapAction>
- <soapAction>http://developer.cognos.com/schemas/mobileService/1</soapAction>
- <soapAction>http://developer.cognos.com/schemas/mobileService/1.session</soapAction>
- <soapAction>http://developer.cognos.com/schemas/mobileService/1.absolute</soapAction>
- <soapAction>http://developer.cognos.com/schemas/mobileService/1.control</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.session</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.absolute</soapAction>
- <soapAction>http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.control</soapAction>
- </service>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="mobileService" handler="mobileService.mobileChainHandler"/>
- <soapAction path="mobileService.absolute" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/mobileService/1" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/mobileService/1.session" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/mobileService/1.absolute" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://developer.cognos.com/schemas/mobileService/1.control" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.session" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.absolute" handler="mobileService.mobileChainHandler"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/mobileService/*/.control" handler="mobileService.mobileChainHandler"/>
- </soapActions>
- <attributes>
- <attribute type="global">mobileConfiguration</attribute>
- <attribute>advancedSettings</attribute>
- <attribute>mbsAuditLevel</attribute>
- </attributes>
- </service>
|