Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

Axis2 sample program

Ads

 
 

Share on Google+Share on Google+

Alamelu
Axis2 sample program
1 Answer(s)      6 years and 8 months ago
Posted in : WebSevices

Hi..

I have tried the HelloWorldServie example in axis2. While running which showing as a faulty service. The error showned as follows

This Web axisService has deployment faults Error: org.apache.axis2.deployment.DeploymentException: The services.xml file cannot be found for the service: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\axis2\WEB-INF\services\HelloWorldService.aar at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:553) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:442) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1108) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1062) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4562) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4845) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:810) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:788) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:558) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:934) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:728) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:307) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:325) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:305) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1036) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:773) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1028) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:278) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:429) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:662) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140) at org.apache.catalina.startup.Catalina.start(Catalina.java:592) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:290) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:418) Caused by: org.apache.axis2.deployment.DeploymentException: The services.xml file cannot be found for the service: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\axis2\WEB-INF\services\HelloWorldService.aar at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:147) ... 46 more

How to correct this error?

Ads
View Answers

December 2, 2010 at 12:38 PM


Hi Friend,

Please visit the following:

Web Services

Axis 2

Thanks


Ads









Related Tutorials/Questions & Answers:
Axis2 sample program
Axis2 sample program  Hi.. I have tried the HelloWorldServie example in axis2. While running which showing as a faulty service. The error showned... for the service: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\axis2\WEB-INF
sample Applet program
sample Applet program  I need Source Code for sample Applet program.   Hi Friend, Please visit the following link: Applet Tutorials Thanks
Advertisements
Sample java program
Sample java program  I want a sample program: to produce summary information on sales report. The program will input Data of Salesman Id, Item code, and number of cuestomer. Sales id is 5digit long, and items code range from
Sample program of JSP
Sample program of JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
Sample program of JSP
Input program in JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
Version of axis2>axis2 dependency
List of Version of axis2>axis2 dependency
java sample program - Java Beginners
java sample program  hai i need a sample program for polymorphism  Hi Friend, Try the following code: class Shape { int x,y; void area(){ } } class Square extends Shape { int l=2; void area
installing axis2
Installing Axis2         Installing Axis2: Download.../ axis2. Unzip it into c:\axis2-1.4 folder. Set
Apache Axis2 - Apache Axis2 Tutorial
Apache Axis2 - Apache Axis2 Tutorial    In this section we will learn Apache Axis2 with the help of examples. Apache Axis2 is a Web Service engine for deploying the web services. The Apache Axis2
Artifacts of axis2
List of Artifacts of axis2 maven depenency
sample jsp-servlet-service-db program
sample jsp-servlet-service-db program  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http
Version of axis2>addressing dependency
List of Version of axis2>addressing dependency
Version of axis2>axis2-adb dependency
List of Version of axis2>axis2-adb dependency
Version of axis2>axis2-codegen dependency
List of Version of axis2>axis2-codegen dependency
Version of axis2>axis2-core dependency
List of Version of axis2>axis2-core dependency
Version of axis2>axis2-doom dependency
List of Version of axis2>axis2-doom dependency
Getting Exception on UseDefinedException sample program - Please help me how to resolve
Getting Exception on UseDefinedException sample program - Please help me how to resolve  class UseDefinedException extends Exception{ String msg = ""; int marks; public UseDefinedException() ){ } public
Maven Dependency axis2 >> 0.9
You should include the dependency code given in this page to add Maven Dependency of axis2 >> axis2 version0.9 in your project
Apache axis2 installation
Apache axis2 installation  I have installed Apache tomcat for **axis2** Installation. But the downloaded tomcat 7.0 exe bin file, it can have no option of START and SHUTDOWN. The latest downloaded version have no such options
Installing axis2 eclipse plugin
Installing axis2 eclipse plugin    Axis2 eclipse installation - Installing Axis2 plugin on Eclipse IDE In this section we will install the Axis2 plugin on the Eclipse Integrated Development
Client's Data with Axis2 and Java
Client's Data with Axis2 and Java  Hello everyone, I am studying IT Engineering and my project is to create heterogenous system, and as middleware... spring features) and as core engine I am using axis2, IDE is Eclipse. If you
Sample Java program for beginners
Here beginners in Java can learn to create there first Hello World program..., a programmer is ready to create their own Java program. Here we have also described..., web development, application development, programming, etc. After a program
Axis2 Eclipse plugin Tutorial
Axis2 Eclipse plugin Tutorial    In this section we will learn about Axis2 Eclipse plugins. There are plugins available for the Eclipse IDE to make the development easy. The Axis2 Eclipse plugins
Apache Axis2 Introduction
Apache Axis2 Introduction     Axis2: An Introduction In this section introduces you with the Apache Axis2 framework. Apache Axis2 is a core engine for Web services. It is a modified version of widely
What is axis2?
What is axis2?         Axis2 is Apache?s Web services framework with two... engine is required to create and interpret SOAP messages. AXIS2
Large File reading through Axis2 Web service
Large File reading through Axis2 Web service  This is Vinay Rai. This is regarding the web service help which i am looking for. I am currently working on axis2 web service and i am very new to this. so need your help
Webservices(Axis2 + tomcat ) Consuming Hibernate Giving Problem - Hibernate
Webservices(Axis2 + tomcat ) Consuming Hibernate Giving Problem  Hi Please tell me how can i integrate hibernate in axis2 for my webservice?? I... in aar File which is deployed in Axis2 services folder.. OR ELSE TELL ME
program
program  sample jsp programs for beginners.......   Hi, Please read at http://www.roseindia.net/jsp/jspfundamentals.shtml Thanks
Jsp program
Jsp program  A sample program of jsp using dml quaries
program
program  any program of hotel or school management
program
program  write a javascript program to create a application form with validation