axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <atma...@gmail.com>
Subject Re: [Axis2] How to specify SoapAction for Axis2?
Date Mon, 25 Jul 2005 22:23:49 GMT
Are you using SOAP 1.1 or SOAP 1.2? When using SOAP 1.2, you can't use
SOAPAction.

Anne

On 7/25/05, Navinkumar Shetty <navinkumar_shetty@yahoo.com> wrote:
> Hello,
> 
> I am trying to run a very simple Soap example with
> Soap2.
> However, I am getting the following error in my Soap
> Client. It looks like the server did NOT like the Soap
> Action I have specified in the WSDL file. I couldnot
> find a way to specify the SoapAction as such.
> 
> Has anyone come across this error/issue before?
> Any help is appreciated.
> Thanks and Regards,
> Navin
> 
> ---------------Error Message-------------
> org.apache.axis2.engine.AxisFault:
> org.apache.axis2.engine.AxisFault: Operation Not found
> EPR is http://localhost/axis2/services/testPortType
> and WSA Action = /SoapServerAction; nested exception
> is:
>         org.apache.axis2.engine.AxisFault: Operation Not
> found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.AxisEngine.handleFault(AxisEngine.java:186)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:127)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:102)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
>         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:237)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         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:683)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: org.apache.axis2.engine.AxisFault:
> Operation Not found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.DispatchPostConditionsEvaluator.invoke(DispatchPostConditionsEvaluator.java:58)
>         at
> org.apache.axis2.engine.Phase.invoke(Phase.java:161)
>         at
> org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:252)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:107)
>         ... 28 more; nested exception is:
>         java.lang.Exception:
> org.apache.axis2.engine.AxisFault: Operation Not found
> EPR is http://localhost/axis2/services/testPortType
> and WSA Action = /SoapServerAction; nested exception
> is:
>         org.apache.axis2.engine.AxisFault: Operation Not
> found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.AxisEngine.handleFault(AxisEngine.java:186)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:127)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:102)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
>         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:237)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         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:683)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: org.apache.axis2.engine.AxisFault:
> Operation Not found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.DispatchPostConditionsEvaluator.invoke(DispatchPostConditionsEvaluator.java:58)
>         at
> org.apache.axis2.engine.Phase.invoke(Phase.java:161)
>         at
> org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:252)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:107)
>         ... 28 more
>         at
> org.apache.axis2.clientapi.InOutMEPClient.invokeBlocking(InOutMEPClient.java:159)
>         at
> org.apache.testaxis2.testPortTypeStub.testOperation(testPortTypeStub.java:70)
>         at testClient.main(testClient.java:28)
> Caused by: java.lang.Exception:
> org.apache.axis2.engine.AxisFault: Operation Not found
> EPR is http://localhost/axis2/services/testPortType
> and WSA Action = /SoapServerAction; nested exception
> is:
>         org.apache.axis2.engine.AxisFault: Operation Not
> found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.AxisEngine.handleFault(AxisEngine.java:186)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:127)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:102)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
>         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:237)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         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:683)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: org.apache.axis2.engine.AxisFault:
> Operation Not found EPR is
> http://localhost/axis2/services/testPortType and WSA
> Action = /SoapServerAction
>         at
> org.apache.axis2.engine.DispatchPostConditionsEvaluator.invoke(DispatchPostConditionsEvaluator.java:58)
>         at
> org.apache.axis2.engine.Phase.invoke(Phase.java:161)
>         at
> org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:252)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:107)
>         ... 28 more
>         at
> org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:123)
>         ... 3 more
> 
> 
> 
> 
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
> 
>

Mime
View raw message