Hi Michele, See my comments inline.
Michele Mazzucco wrote:
> Hi all,
>
> I've deployed Axis 2 (0.95) on Tomcat 5.5.15. I'm trying to execute a
> slightly modified version of the EchoNonBlockingDualClient example, but
> unfortunately it doesn't work.
> The client throws the following exception
>
> org.apache.axis2.AxisFault: In order to use two transport channels,
> WS-Addressing module must be engaged
>
> but the "addressing" module is enabled in
> %CATALINA_HOME%\webapps\axis2\WEB-INF\conf\axis2.xml (and in fact,
> according to the Axis 2 web administration tool, it seems to be deployed).
What you see using the web app is your server. But for you to invoke
non-blocking dual client, you have to have addressing mar available in
the client side.
The default axis2.xml file that comes with 0.95 for client side has
addressing not engaged.
so put options.engageModule("addressing")
and put the addressing-xxx.mar in the classpath.
-- Chinthaka
signature.asc
Description: OpenPGP digital signature
