Yes the idea was for that to add operations for services called control operations. RM for example needs to have the RM protocol operations appear at the same endpoint as the service .. and this allows that to happen.
Is it not working any more? Maybe check the Sandesha module too? Sanjiva. On Fri, Nov 5, 2010 at 4:14 AM, Amila Liyanaarachchi <[email protected]>wrote: > Hi Devs, > > What exactly expected from putting the <operation> block in a module.xml > file? Does it add that operation to the services when the module get > engaged? > > For example the module.xml of the caching module contains the following > block, > <operation name="CachedOperation" mep=" > http://www.w3.org/2006/01/wsdl/in-out"> > <messageReceiver > class="org.wso2.caching.receivers.CachedMessageReceiver"/> > </operation> > > Then in the CachingInHandler it tries to access this operation from this > code, > AxisOperation cachedOperation = > axisService.getOperation(CachingConstants.CACHED_OPERATION_QNAME); > > where CACHED_OPERATION_QNAME = "CachedOperation" > > I have moved the carbon\caching module to Axis2 and when I was debugging it > can not find an operation with name "CachedOperation". Then I checked the > axisService.operationsAliasesMap it also does not contain the > "cachedOperation". > > What may be the reason for this operation not being present in a service? > > Thanks, > Amila > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: [email protected]; phone: +1 408 754 7388 x51726; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
