You need not have a repository or axis2.xml. You could create a config ctx as follows:
ConfigurationContextFactory.createEmptyConfigurationContext() Since you need to use addressing, make sure that the axis2.jar is in the classpath of the client. This jar file contains the addressing module.xmlfile, hence the addressing module will be loaded from the classpath on the client side. Now, engaging addressing should work. HTH Azeez On Jan 4, 2008 1:11 AM, Joe S <[EMAIL PROTECTED]> wrote: > Hello everyone and Happy New Year! > > I am working on a SOAP client application using the generated code by > wsdl2java. The server does have repository, service, modules, etc. and the > client doesn't. I'm wondering if the client also needs repository ( > axis2.xml, services, modules, etc.). I looked at the documentation but > still not clear whether clients need them and how to configure it. > > I encountered this issue while I tried to engage addressing to use > non-blocking calls. > > This is the Exception: > > org.apache.axis2.AxisFault: Unable to engage module : addressing > at org.apache.axis2.client.ServiceClient.engageModule( > ServiceClient.java:339) > at org.apache.axis2.client.ServiceClient.engageModule ( > ServiceClient.java:324) > > > I'd appreciate your help. > > Joe > -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760
