On Wed, Nov 4, 2009 at 4:43 AM, William Walsh <wwa...@curamsoftware.com>wrote:

>  Currently we use Axis 1.4 for our application and via the
> server_config.wsdd file (provider="java:<classname>”) and extending
> org.apache.axis.providers.java.MsgProvider and
> org.apache.axis.providers.java.RPCProvider we intercept all messages and do
> our own routing.
>
>
>
> Obviously things are different in Axis2; but, from all the reading I've
> done it's not clear if we can do equivalent processing via a messageReceiver
> or via a Handler? We don't do any processing on the SOAP messages now, but
> get the method name, etc. from the MessageContext to invoke our method via
> reflection.  If it's done via a Handler in Axis2 how do we specify the phase
> settings in axis2.xml to specify the last Handler and does this have to be
> done via a Module?  (Part of my confusion comes from not finding an
> explanation of what RMPhase is.)  Again, if it's via a Handler (as this
> thread suggests: http://marc.info/?t=121988146900001&r=1&w=2), I'm
> confused by what we would return from the Handler invoke method; that is,
> SUSPEND, ABORT, or CONTINUE don't seem to specify what we need to achieve,
> which would be more along the lines of DONE.
>

for your case better to use a message receiver rather than a handler.
this[1] may help as well.

thanks,
Amila.

[1] http://wso2.org/library/articles/extending-axis2

>
>
> Thanks for any help available,
>
> William
>
>
>
> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to