I have exactly the same problem. Disabling the addressing module in the
axis2.xml and removing it from modules directory didn't help.

Thanks
Yves

On Sun, 2006-01-29 at 22:15 -0800, thilina madu wrote:
> 
> Hi all,
> I tried to access service bellow mention way.
> There give error why ?
>  
>  
> public class Test {
>            public static void main(String args[]) throws AxisFault,
> XMLStreamException {
>            EndpointReference targetechoint = new
> EndpointReference("http://127.0.0.1:8080/axis2/services/InteropTest/echoInteger";);
>       
>             System.out.println();
>             System.out.println("9.Echoing the Integer");
>             System.out.println( "Enter the Integer");
>             BufferedReader intbuf=new BufferedReader(new
> InputStreamReader(System.in));
>             String intstr="";
>             try{
>             intstr=intbuf.readLine();
>             } catch(IOException excep){
>                 excep.getStackTrace();
>             }
>             OMFactory intfactory=OMAbstractFactory.getOMFactory();
>             OMNamespace
> omintnames=intfactory.createOMNamespace("http://example1.org/example1","examint";);
>             OMElement
> omintelement=intfactory.createOMElement("echointelemen",omintnames);
>             omintelement.setText(intstr);
>                  
>             Options options = new Options();
>             options.setTo(targetechoint);
>             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
>             options.setUseSeparateListener(false);
>             ServiceClient servi ceClient = new ServiceClient();
>             serviceClient.setOptions(options);
>             OMElement result =
> serviceClient.sendReceive(omintelement);
>             System.out.println();
>             System.out.println("Check the get values from the
> Omelemany");
>             StringWriter writer = new StringWriter();
>             result.serialize(XMLOutputFactory.newInstance()
>                     .createXMLStreamWriter(writer));
>             writer.flush();
>             System.out.println(writer.toString());
>     }
>  
>  
>  
>  
>  
> ERRRO given is :
> 
> 9.Echoing the Integer
> Enter the Integer
> 4
> org.apache.axis2.deployment.DeploymentException: module.xml not found
> for the module :   addressing; nested exception is: 
>  org.apache.axis2.deployment.DeploymentException: module.xml not found
> for the module :   addressing; nested exception is: 
>  org.apache.axis2.deployment.DeploymentException: module.xml not found
> for the module :   addressing; nested exception is: 
>  org.apache.axis2.deployment.DeploymentException: module.xml not found
> for the module :   addressing
>  at
> org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:542)
> &n bsp;at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:56)
>  at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:39)
>  at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:53)
>  at
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:86)
>  at
> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:148)
>  at Test.main(Test.java:62)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
> Caused by: org.apache.axis2.deployment.DeploymentException: module.xml
> not found  for the module :   addressing; nested exception is: 
>  org.apache.axis2.deployment.DeploymentException: module.xml not found
> for the module :   addressing
>  at
> org.apache.axis2.deployment.repository.util.ArchiveReader.creatModuleArchivefromResource(ArchiveReader.java:193)
>  at
> org.apache.axis2.engine.AxisConfiguration.loadModulefromResources(AxisConfiguration.java:385)
>  at
> org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:328)
>  at
> org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:502)
>  at
> org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:537)
>  ... 11 more
> Caused by: org.apache.axis2.deployment.DeploymentException: module.xml
> not found  for the module :   addressing
>  at
> org.apache.axis2.deployment.repository.util.ArchiveReader.creatModuleArchivefromResource(ArchiveReader.java:158)
>  ... 15 more
> Exception in thread "main" 
> Process finished with exit code 1
>  
> Any kind of help is higly appreciate
>  
> madushan thilina
> 
> ______________________________________________________________________
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more
> on new and used cars.

Reply via email to