axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csj <johns...@clarkson.edu>
Subject Re: [Axis2] How to specify SoapAction for Axis2?
Date Tue, 26 Jul 2005 16:56:08 GMT
Navin -

My mistake I was referring to Axis 1.2RC3.

a quck look at http://ws.apache.org/axis2/api/

shows call has a setAction, yet it has a "todo" next to it.

Sorry for the confusion..



On Tue, 26 Jul 2005, Navinkumar Shetty wrote:

> Thanks for the reply.
> However, I do NOT see the "setUseSOAPAction method in
> _call. What version of Axis2 are you using?
> I am using 0.9
> Regards,
> Navin
>
> --- csj <johnsocs@clarkson.edu> wrote:
>
> > Navin -
> >
> > I've never had this particular problem, but
> > something to look into..
> >
> > make sure...
> >
> > _call.setUseSOAPAction(true)
> > _call.setSOAPActionURI("blah");
> >
> > Regards.
> >
> >
> >
> > On Mon, 25 Jul 2005, Navinkumar Shetty 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)
> >
> === message truncated ===
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>

Mime
View raw message