AXIS2-5693 - Unable to run web service request when there are multiple occurrence of endpoint names.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

AXIS2-5693 - Unable to run web service request when there are multiple occurrence of endpoint names.

Aniruddha Bhattacharya



We need a fix for this urgently. Can someone please comment on it?


I am trying to run a web service (sample/example)

As you can see there are multiple occurrence of "/myservice" in the URL. When I run this, I get an error saying.

The endpoint reference (EPR) for the Operation not found is axis2/service/myservice/myjob?files=/myservice/foo/foobar&format=xml and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.

From the server logs, I see this trace.

at org.apache.axis2.engine.DispatchPhase.checkPostConditions(
at org.apache.axis2.engine.Phase.invoke(
at org.apache.axis2.engine.AxisEngine.invoke(
at org.apache.axis2.engine.AxisEngine.receive(
at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(
at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(
at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(
at org.apache.axis2.transport.http.AxisServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.AbstractHttp11Processor.process(
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

The issue only occurs if there is any occurrence of the "/myservice/" in the argument part of the URL. The way our application is published, this occurrence is expected to be very common. We used axis2 version 1.4 before and never seen this issue. It popped up only after we migrated to 1.6.2.

Please advice.



Thanks, Ani.


The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.