axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moni <moni_spar...@yahoo.com>
Subject Re: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found
Date Tue, 02 Sep 2008 23:33:42 GMT
I figured this.  Thanks it works.
 
Monisha

--- On Mon, 9/1/08, keith chapman <keithgchapman@gmail.com> wrote:

From: keith chapman <keithgchapman@gmail.com>
Subject: Re: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not
found
To: axis-user@ws.apache.org
Date: Monday, September 1, 2008, 7:00 PM



Hi,

The root cause of this problem is that the axis2 server could not find the service and operation
the request was destined to. Basically the request did not contain enough information for
it to get dispatched. This article [1] describes how axis2 dispatching works. Reading though
it will point you in the right direction. You may also use TCPMonitor in order to have a look
at the request [2] to identify weather the request has any information for it to get dispatched
correctly.

[1] http://wso2.org/library/176
[2] http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html

Thanks,
Keith.


On Tue, Sep 2, 2008 at 6:42 AM, MShah <moni_sparkle@yahoo.com> wrote:


I deployed a web service on axis2 and when I write web service client to
invoke and test the web service, I get the following exception.  Any inputs
on resolving this will be much appreciated.

org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not f
ound is /axis2/services/wsInsertDB and the WSA Action = null
       at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:89)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
       at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUt
il.java:136)
       at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTU
til.java:130)
       at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.proc
essURLRequest(AxisServlet.java:829)
       at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:25
5)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] The endpoint reference (EPR) for the Operation not found is
/axis2/servi
ces/wsInsertDB/ and the WSA Action = null
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not f
ound is /axis2/services/wsInsertDB/ and the WSA Action = null
       at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:89)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
       at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUt
il.java:136)
       at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTU
til.java:130)
       at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.proc
essURLRequest(AxisServlet.java:829)
       at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:25
5)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] The endpoint reference (EPR) for the Operation not found is
/axis2/servi
ces/wsInsertDB.wsInsertDBHttpEndpoint and the WSA Action = null
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not f
ound is /axis2/services/wsInsertDB.wsInsertDBHttpEndpoint and the WSA Action
= n
ull
       at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:89)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
       at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUt
il.java:136)
       at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTU
til.java:130)
       at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.proc
essURLRequest(AxisServlet.java:829)
       at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:25
5)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] The endpoint reference (EPR) for the Operation not found is
/axis2/servi
ces/wsInsertDB/ and the WSA Action = null
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not f
ound is /axis2/services/wsInsertDB/ and the WSA Action = null
       at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:89)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
       at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUt
il.java:136)
       at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTU
til.java:130)
       at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.proc
essURLRequest(AxisServlet.java:829)
       at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:25
5)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] The endpoint reference (EPR) for the Operation not found is
/axis2/servi
ces/wsInsertDB.wsInsertDBHttpSoap11Endpoint and the WSA Action = null
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not f
ound is /axis2/services/wsInsertDB.wsInsertDBHttpSoap11Endpoint and the WSA
Acti
on = null
       at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPha
se.java:89)
       at org.apache.axis2.engine.Phase.invoke(Phase.java:333)
       at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
       at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUt
il.java:136)
       at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTU
til.java:130)
       at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.proc
essURLRequest(AxisServlet.java:829)
       at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:25
5)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] An access occurred that is not valid.
java.lang.UnsupportedOperationException: An access occurred that is not
valid.
       at
org.apache.axis2.description.InOnlyAxisOperation.getMessage(InOnlyAxi
sOperation.java:109)
       at
org.apache.axis2.util.MessageContextBuilder.createOutMessageContext(M
essageContextBuilder.java:190)
       at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:37)
       at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
       at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
       at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)
[ERROR] An access occurred that is not valid.
java.lang.UnsupportedOperationException: An access occurred that is not
valid.
       at
org.apache.axis2.description.InOnlyAxisOperation.getMessage(InOnlyAxi
sOperation.java:109)
       at
org.apache.axis2.util.MessageContextBuilder.createOutMessageContext(M
essageContextBuilder.java:190)
       at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:37)
       at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
       at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
       at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
       at java.lang.Thread.run(Thread.java:619)

--
View this message in context: http://www.nabble.com/org.apache.axis2.AxisFault%3A-The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp19262806p19262806.html
Sent from the Axis - User mailing list archive at Nabble.com.


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




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org



      
Mime
View raw message