You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Shameera Rathnayaka <sh...@gmail.com> on 2012/09/02 20:23:50 UTC

Why axis2.xml file has same handler in both Transport and Dispatcher phases?

Hi devs,

As i can see axis2.xml file has "RequestURIBasedDispatcher" and
"SOAPActionBasedDispatcher" handlers in both Transport and Dispatcher
phases of InFlow. According to the functionalities I thing both handlers
should be under only Transport phase. Is there any reason for this ?

As RequestURIBasedDispatcher only dispatch the service, where it allow
RequestURIOperationBasedDispatcher to dispatch the operation. And Inside
the RequestURIBasedDispatcher uses RequestURIBasedServiceDispatcher to
dispatch the service. Therefore can't we change the name of
RequestURIBasedDispatcher to RequestURIServiceBasedDispatcher ? Because
then it describes clearly what it does.

Thanks,
Shameera.


-- 
Shameera Rathnayaka
Undergraduate
Department of Computer Science and Engineering
University of Moratuwa.
Sri Lanka.

Blog : http://shameerarathnayaka.blogspot.com/