Hi, On 27 August 2011 21:16, Shameera Rathnayaka <shameerai...@gmail.com> wrote:
> > On Sat, Aug 27, 2011 at 8:51 PM, coollionking <shubhranshu.sw...@gmail.com > > wrote: > >> >> Hi, >> >> Thanks >> >> Below is my machine configuration. >> >> Eclipse- Galileo >> Jdk 1.6 >> Apache axis 2 >> Jboss 5.1 >> >> I have added the following jars in client project >> >> axis2-kernel-1.4.1.jar >> axiom-api-1.2.8.jar >> axis2-adb-1.4.1.jar >> XmlSchema-1.4.2.jar >> axiom-impl-1.2.7.jar >> backport-util-concurrent-3.1.jar >> neethi-2.0.4.jar >> >> > Hi i think you should add some other jars to your project, check this > > http://amilachinthaka.blogspot.com/2008/11/minimal-jars-to-run-apache-axis2.html > > Simple and easy way is, add all jars comes with axis2 lib but not the best > case > +1. This should work. Or otherwise you can use Axis2 Eclipse Codegen plugin to generate client side code. In the codegen wizard you have an option to copy required Jars to your output location. When you select that option, all the required jars are copied to that location. Thanks and Regards, Harshana > > > Please help >> Regards >> >> >> Shameera Rathnayaka wrote: >> > >> > Without more details i cant say exactly what is the problem >> > >> > but try this >> > >> http://old.nabble.com/Axis2-1.5.1-AbstractMethodError-on-Linux-%28Works-on-Windows%29-to27244285.html#a27244285 >> > >> > On Sat, Aug 27, 2011 at 4:45 PM, coollionking >> > <shubhranshu.sw...@gmail.com>wrote: >> > >> >> >> >> Hi All, >> >> >> >> I am new to webservices. I am using apache axis 2. When I try to call a >> >> exposed web service function I get the following exception >> >> >> >> java.lang.AbstractMethodError: >> >> >> >> >> org.apache.axiom.om.impl.llom.OMAttributeImpl.setAttributeType(Ljava/lang/String;)V >> >> at >> >> >> >> >> org.apache.axiom.om.impl.builder.StAXBuilder.processAttributes(StAXBuilder.java:230) >> >> at >> >> >> >> >> org.apache.axiom.om.impl.builder.StAXOMBuilder.populateOMElement(StAXOMBuilder.java:396) >> >> at >> >> >> >> >> org.apache.axiom.om.impl.builder.StAXOMBuilder.createOMElement(StAXOMBuilder.java:425) >> >> at >> >> >> >> >> org.apache.axiom.om.impl.builder.StAXOMBuilder.createNextOMElement(StAXOMBuilder.java:282) >> >> at >> >> >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:207) >> >> at >> >> >> >> >> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:132) >> >> at >> >> >> >> >> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:502) >> >> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:602) >> >> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581) >> >> at >> >> >> >> >> org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97) >> >> at >> >> >> >> >> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:86) >> >> at >> >> >> >> >> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:641) >> >> at >> >> >> >> >> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) >> >> at >> >> >> >> >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:68) >> >> at >> >> >> >> >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184) >> >> at >> >> >> >> >> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150) >> >> at >> >> org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143) >> >> at >> >> com.atyaf.bss.customer.BssServiceStub.<init>(BssServiceStub.java:163) >> >> at >> >> com.atyaf.bss.customer.BssServiceStub.<init>(BssServiceStub.java:149) >> >> at >> >> com.atyaf.bss.customer.BssServiceStub.<init>(BssServiceStub.java:200) >> >> at >> >> com.atyaf.bss.customer.BssServiceStub.<init>(BssServiceStub.java:192) >> >> >> >> >> >> Please help >> >> >> >> Regards >> >> -- >> >> View this message in context: >> >> >> http://old.nabble.com/java.lang.AbstractMethodError%3A-org.apache.axiom.om.impl.llom.OMAttributeImpl.setAttributeType%28Ljava-lang-String-%29V-tp32347183p32347183.html >> >> Sent from the Axis - User mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >> >> For additional commands, e-mail: java-user-h...@axis.apache.org >> >> >> >> >> > >> > >> > -- >> > Shameera Rathnayaka >> > Undergraduate >> > Department of Computer Science and Engineering >> > University of Moratuwa. >> > Sri Lanka. >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/java.lang.AbstractMethodError%3A-org.apache.axiom.om.impl.llom.OMAttributeImpl.setAttributeType%28Ljava-lang-String-%29V-tp32347183p32347958.html >> Sent from the Axis - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >> For additional commands, e-mail: java-user-h...@axis.apache.org >> >> > > > -- > Shameera Rathnayaka > Undergraduate > Department of Computer Science and Engineering > University of Moratuwa. > Sri Lanka. > > > -- Thanks and Regards, Harshana Martin -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2.com http://wso2.org ECF Committer: http://www.eclipse.org/ecf/ Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05