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

Reply via email to