axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ani Bhattacharya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5693) Unable to run web service request when there are multiple occurrence of endpoint names.
Date Wed, 08 Apr 2015 19:24:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ani Bhattacharya updated AXIS2-5693:
------------------------------------
    Description: 
I am trying to run a web service (sample/example)

http://1.2.3.4:1234/axis2/service/myservice/myjob?files=/myservice/foo/foobar&format=xml

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

<faultstring>
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.
</faultstring>

>From the server logs, I see this trace.

at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
        at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
        at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
        at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
        at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:273)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

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.


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

http://1.2.3.4:1234/axis2/service/myendpoint/myjob?files=/myendpoint/foo/foobar&format=xml

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

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

>From the server logs, I see this trace.

at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
        at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
        at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
        at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
        at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:273)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

The issue only occurs if there is any occurrence of the "/myendpoint/" 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.



> Unable to run web service request when there are multiple occurrence of endpoint names.
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5693
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5693
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.6.2
>         Environment: Web service running on Red Hat 5.3, Browser=Chrome
>            Reporter: Ani Bhattacharya
>
> I am trying to run a web service (sample/example)
> http://1.2.3.4:1234/axis2/service/myservice/myjob?files=/myservice/foo/foobar&format=xml
> As you can see there are multiple occurrence of "/myservice" in the URL. When I run this,
I get an error saying.
> <faultstring>
> 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.
> </faultstring>
> From the server logs, I see this trace.
> at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>         at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
>         at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
>         at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
>         at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:273)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:724)
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message