RTFM, alas.

This issue I was having was that while the service engaged addressing the client did not. 

Out of the box the samples don't work, the client source Echo*DualClient.java needs to be modified to add ConfigurtionContext to the ServiceClient instance (sender).

Note the userguide stated I should be able to add the addressing-1.0.mar to my client's classpath and that should work.  It didn't.  I also unjarred to /tmp/z then included that directory in the classpath, to no avail.  If someone knows why this didn't work for me, I'd be curious.


Eric Winter <[EMAIL PROTECTED]> wrote:
Please help me out...

I have a what must be a simple problem.  I am not able to run any of the Echo*DualClient samples.  For example, when I run the EchoBlockingDualClient sample, Axis2 generates an AxisFault - unable to find the addressing-1.0 module giving me the error message below.

Just to be sure I downloaded a fresh copy of the addressing-1.0.mar and it is identical with what I have in   axis2\WEB-INF\modules.  Tomcat is aware of it, log shows modules being loaded.

What could it be?



--------------
"EchoBlockingDualClient ........................"
org.apache.axis2.AxisFault: Module not found
        at org.apache.axis2.description.AxisService.engageModule(AxisService.java:395)
        at org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:279)
        at userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:51)

-------------------

 Directory of C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axi
s2\WEB-INF\modules

2006-06-26  12:46    <DIR>          .
2006-06-26  12:46    <DIR>          ..
2006-05-25  15:23            20,503 addressing-1.0.mar
2006-06-26  12:46             2,512 logging.mar
2006-05-08  17:11           255,835 sandesha2-1.0.mar
2006-05-25  15:23             7,784 soapmonitor-1.0.mar

----------------------

INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis2\WEB-INF\lib\servletapi-2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
- Deploying module : addressing-1.0
- Deploying module : logging
- Deploying module : sandesha2-1.0
- Deploying module : soapmonitor-1.0
Jun 27, 2006 12:13:50 PM org.apache.catal


Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

Reply via email to