Thank you for that thought Deepal, unfortunately I still get the same error.
What I'm trying to do is execute the client code within Eclipse to access
the Axis2 server. I've added the addressing-0.95.mar file into the same
folder as all the other Axis jars, but when I run EchoNonBlockingDualClient
or CalcClient within Eclipse, I still get
org.apache.axis2.AxisFault: Module not found
at
org.apache.axis2.description.AxisService.engageModule(AxisService.java:311)
at
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:273)
at
userguide.clients.EchoNonBlockingDualClient.main(EchoNonBlockingDualClient.j
ava:76)
Finian
-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: 07 April 2006 12:55
To: [email protected]
Subject: Re: [Axis2] 0.95 WS-Addressing client-side: module not found
Hi Finian;
hmm , well what you have to do is copy addressing.mar into the same
place where your axis.jar is located. If you have done that at the axis2
start up time Axis2 will read module.mar. And You dont need to add
addressing.mar into Eclipse class path (I mean you dont need to add that
as a jar file).
Finian O'Boyle wrote:
>Hi, I'm new to this list - I'm an Axis 1.3 user and am currently converting
>to Axis 2 0.95. I run using Eclipse 3.1.1/Ant 1.6.5/Tomcat 5.5 and I'm also
>developing .Net interoperable systems with .Net 1.1.
>
>I, too, have been struggling with the "module not found" problem that Roman
>has encountered. Whenever ServiceClient tries to engage "addressing", I get
>"module not found". If, as Deepal says, "addressing-0.95.mar" has to be in
>the Eclipse classpath, then it's going to be a problem, because Eclipse
>doesn't seem to recognize that as a valid entry in the buildpath. You can't
>add it within Eclipse, because it only allows .jar and .zip files when you
>try to "Add External Jar" to the buildpath. Even if you modify the
>.classpath file outside Eclipse it doesn't recognize "addressing-0.95.mar"
>as a valid entry.
>
>
>Finian
>
>
>-----Original Message-----
>From: Roman Weidlich [mailto:[EMAIL PROTECTED]
>Sent: 06 April 2006 19:59
>To: [email protected]
>Subject: Re: [Axis2] 0.95 WS-Addressing client-side: module not found
>
>every try of this:
>
>serviceClient.engageModule(new QName(Constants.MODULE_ADDRESSING));
>
>results in this:
>
>org.apache.axis2.AxisFault: Module not found
>
>but in the administration for the webservice is displayed:
>
> Service Status : Active Engaged modules for the service
>
> * addressing-0.95
>
>
>
>
>Roman Weidlich wrote:
>
>
>>trying "addressing-0.95.mar" in the classpath doesn't change anything...
>>
>>Deepal Jayasinghe wrote:
>>
>>
>>>ohhh , that is not going to be work !
>>>you have to have the .mar extension otherwise system will not figure
>>>that out as an AxisModule.
>>>
>>>Roman Weidlich wrote:
>>>
>>>
>>>
>>>>I renamed addressing-0.95.mar to addressing-0.95.jar and add it to the
>>>>project libraires in Eclipse.
>>>>
>>>>EchoNonBlockingDualClient arises this:
>>>>
>>>>org.apache.axis2.AxisFault: Module not found
>>>> at
>>>>
>>>>
>>>>
>org.apache.axis2.description.AxisService.engageModule(AxisService.java:311)
>
>
>>>> at
>>>>
>>>>
>>>>
>org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:273)
>
>
>>>> at client.Client.invoke(Client.java:66)
>>>> at client.Client.<init>(Client.java:28)
>>>> at client.Client.main(Client.java:109)
>>>>
>>>>
>>>>
>>>>Chinthaka wrote:
>>>>
>>>>
>>>>
>>>>>Michele Mazzucco wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hi Eran,
>>>>>>
>>>>>>I'm sorry, but I cannot find the options.engageModule() call. Do you
>>>>>>mean options.setAction() (I'm just trying to guess since the APIs
>>>>>>don't
>>>>>>explain what that method actually do)?
>>>>>>
>>>>>>
>>>>>I'm sorry its ServiceClient.engageModule("addressing").
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 6/4/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 6/4/2006