123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: CAMAAA
- (C) Copyright IBM Corp. 2010, 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
- IBM Corp.
- -->
- <!-- example service definition file using the async toolkit -->
- <service xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="./ ./services.xsd" name="SACamSrvc" class="com.cognos.pogo.services.SoapActionHandlerService">
- <handlers>
- <!--
- define a handler that is an instance of AsyncHandler: threadBaseName
- - prefix used to name threads that run async requests
- expiryCheckIntervalms - how often thread that watches for abandoned
- requests wakes up. Each time it wakes it increments a count on each
- running async conversation. Each time we receive a request related to
- the conversation the count is reset to 0. abandonLimit - if the count
- reaches this value the conversation is considered to have been
- abandoned by the client. Dispatcher cancels the request by calling
- abandon() on teh async service. graceLimit - when the count reaches
- this value we delete the object that represents the conversation.
- wrappedHandler - name of the handler that implements Asyncable.
- onCompletionHandler - name of handler to be invoked when the async
- execution of the request completes. This is intended to be used to
- invoke a SimpleRequestReportingHandler (or similar), to integrate
- async services with dispatcher's mechanism for reporting runtime
- stats to ContentManager.
- -->
- <handler name="SACamSrvcReporter" classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler" publisherName="NoPublisher" reporterName="SACamSrvc" serviceType="SACamSrvc" skip_on_fault="false"/>
- <handler name="serviceStatus" classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler" dispatcherStateHandler="dispatcher.dispatcherStatusHandler" serviceName="SACamSrvc" skip_on_fault="false"/>
- <handler name="SACamAsyncHandler" classname="com.cognos.pogo.async.impl.AsyncHandler" threadBaseName="SACamAsyncHandler-" expiryCheckIntervalms="10000" abandonLimit="4" graceLimit="8" wrappedHandler="SACamSrvc.SACamService"/>
- <!-- example handler that implements Asyncable.-->
- <handler name="SACamService" classname="com.ibm.cognos.camaaa.internal.common.service.CAMStandAloneServiceHandler" requestDuration="40"/>
- <!--
- example handler to be invoked when execution is complete. <handler
- name="onCompletion"
- classname="com.cognos.pogo.async.debug.OnCompletionExample"/>
- -->
- <handler name="async" classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="SACamSrvcReporter"/>
- <handler_ref name="serviceStatus"/>
- <!-- <handler_ref name="pogo.auth_check"/> -->
- <handler_ref name="SACamAsyncHandler"/>
- <handler_ref name="pogo.respond"/>
- </chain>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="sacam" handler="SACamSrvc.async"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-auth/*/" handler="SACamSrvc.async"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-admin/*/" handler="SACamSrvc.async"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-test/*/" handler="SACamSrvc.async"/>
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-internal/*/" handler="SACamSrvc.async"/>
- </soapActions>
- <attributes>
- <!-- needed for ReportServerHandler class -->
- </attributes>
- </service>
|