axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel.Zieg...@t-systems.com
Subject AW: [Axis2] AxisFault: Operation Not found
Date Mon, 17 Oct 2005 07:22:22 GMT
Thanks, _this_ works now, but I got another problem.

Is there a simple example of a webservice and correspondig client using the stub and skeleton
generated by the Eclipse-CodeGen-Pluigin? Just something like echoString.

Daniel

-----Urspr√ľngliche Nachricht-----
Von: Saminda Abeyruwan [mailto:saminda@opensource.lk] 
Gesendet: Freitag, 14. Oktober 2005 16:08
An: axis-user@ws.apache.org
Betreff: Re: [Axis2] AxisFault: Operation Not found


As i can see you have the wsa:action with 
http://example.com/marvin/askMarvin. Now you need to map that to your 
operation, which should be in your services.xml and you should put a 
entry in your operation name as follows

....
<operation name="askMarvin>
        <parameter 
name="wsamapping">http://example.com/marvin/askMarvin</parameter>
        <messageReciever class="......."/>
</operation>
......

This should be fixed in CodeGen, though.

Saminda


Daniel.Ziegler@t-systems.com wrote:

>Hi everybody!
>
>I'm new to Axis and I tried to develop a little test-webservice for 
>Axis2 with Eclipse and the CodeGen-Plugin. But the client throws the 
>attached exception when using the generated stubs method "askMarvin". I 
>found out that getOperationDescription() of the MessageContext seems to 
>be null, but I have no idea why?!
>
>Can anybody give me a hint on what reason there is for this exception?
>
>
>Daniel
>---------------------
>
>org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Operation Not found EPR is http://myserver.example.com:8080/axis2/services/MarvinService
and WSA Action = http://example.com/marvin/askMarvin
>	at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
>	at org.apache.axis2.engine.Phase.invoke(Phase.java:165)
>	at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:436)
>	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:140)
>	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:202)
>	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:182)
>	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:214)
>	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>	at java.lang.Thread.run(Unknown Source)
>
>-----------
>
>  
>

Mime
View raw message