axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye huang <huangye...@gmail.com>
Subject how to run axis from a maven webapp project
Date Mon, 25 May 2009 00:10:36 GMT
Hi, folks:

I created a maven webapp project via m2eclipse. The project overview  
photo is attached.

Afterward, I execute the project via "run as -> run on server", and  
the "Hello World!" appeared as expected. However, I was not able to  
visit my axis service, which is defined as http://localhost:8080/axisws/services/SimpleService

  in the WSDL file.

The prompted exception is:

<Exception>
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the  
Operation not found is /axisws/services/SimpleService and the WSA  
Action = null
	at  
org 
.apache 
.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
	at  
org 
.apache 
.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:136)
	at  
org 
.apache 
.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
	at org.apache.axis2.transport.http.AxisServlet 
$RestRequestProcessor.processURLRequest(AxisServlet.java:829)
	at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java: 
255)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at  
org 
.apache 
.catalina 
.core 
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
269)
	at  
org 
.apache 
.catalina 
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at  
org 
.apache 
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
213)
	at  
org 
.apache 
.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
172)
	at  
org 
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 
127)
	at  
org 
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 
117)
	at  
org 
.apache 
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
174)
	at  
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
875)
	at org.apache.coyote.http11.Http11BaseProtocol 
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at  
org 
.apache 
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at  
org 
.apache 
.tomcat 
.util 
.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java: 
81)
	at org.apache.tomcat.util.threads.ThreadPool 
$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:613)
</Exception>

What should I do then? It's really frustrated while so close...

Best Regards,
ye



--

Ye Huang, Department of Informatics
University of Fribourg / Perolles 2 - Bld de Perolles 90
1700 Fribourg, Switzerland

e-mail: ye.huang@hefr.ch,  ye.huang@unifr.ch
http://diuf.unifr.ch/people/huangy/
Office: +41 26 429 65 95





Mime
View raw message