You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rodrigo Tenório <rt...@presstime.com.br> on 2006/10/25 22:30:41 UTC

Axis2 - web.xml error

Hi!!!

I have Axis2 running under my Tomcat 5.5 webapp directory and it works fine.

So I created a new context and I copied the axis2-web directory and 
WEB-INF to it in order to have Axis2 working. It works fine like this:

http://localhost:8080/services/FatorialWS?wsdl

But, due to some security issues of the hosting that I'm using, I must 
use the services like this -> http://localhost:8080/servlet/FatorialWS?wsdl

Note the "servlet" instead of "services" in the URL.

The URL http://localhost:8080/servlet/FatorialWS?wsdl works. But when I 
run the client program, generated by wdsl2java.bat, shows the following 
error:

org.apache.axis2.AxisFault: Service not found operation terminated !!
    at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287)
    at 
br.com.ptn.exemplo.ws.cliente.FatorialWSStub.calcular(FatorialWSStub.java:133)
    at br.com.ptn.exemplo.Main.<init>(Main.java:21)
    at br.com.ptn.exemplo.Main.main(Main.java:32)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Service not 
found operation terminated !!
    at 
org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext(InstanceDispatcher.java:113)
    at 
org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.java:65)
    at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
    at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
    at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
    at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
    at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
    at java.lang.Thread.run(Thread.java:595)

    ... 4 more



Does anyone have any clue?

Thanks

-- 
Rodrigo Tenório
Press Time Networking
rt@presstime.com.br




-- 
Rodrigo Tenório
Press Time Networking
rt@presstime.com.br
+55 (44) 3225-1824
+55 (44) 9918-5070

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org