Hi Daniel,
We have a slight problem regarding the Eclipse plugin. The current version only allows to codegen non-databound stubs/skeletons. We had a problem of running XMLBeans inside the Eclipse runtime so we had to remove it. Once we get the Axis2 databinding in place it would be the default databinding for the Eclipse plugin as well.
As for Examples there's a lot. User guide has the links :)

On 10/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
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:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. Oktober 2005 16:08
An: [email protected]
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


[EMAIL PROTECTED] 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 = "" href="http://example.com/marvin/askMarvin">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)
>
>-----------
>
>
>




--
Ajith Ranabahu

Reply via email to