You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/06/20 18:57:01 UTC
[jira] [Commented] (AXIS2-5247) REST functionality is broken in
current trunk
[ https://issues.apache.org/jira/browse/AXIS2-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594690#comment-14594690 ]
Hudson commented on AXIS2-5247:
-------------------------------
SUCCESS: Integrated in Axis2 #2866 (See [https://builds.apache.org/job/Axis2/2866/])
Fix a broken test case introduced by AXIS2-5247. To the author of that test, please repeat 100 times: "A unit test must not depend the side effects of another unit test."
Note that the issue occurs only on Java 7. With this patch, AXIS2-5307 should be completely fixed. (veithen: rev 1686643)
* /axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/rest/RESTfulServiceTest.java
> REST functionality is broken in current trunk
> ---------------------------------------------
>
> Key: AXIS2-5247
> URL: https://issues.apache.org/jira/browse/AXIS2-5247
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.6.1, 1.7.0
> Reporter: Kishanthan Thangarajah
> Assignee: Kishanthan Thangarajah
> Fix For: 1.6.2, 1.7.0
>
> Attachments: AXIS2-5247.patch, StockQuoteService.aar
>
>
> Axis2 REST functionality is not working as expected in current trunk. I tried a sample with a wsdl2 where I define whttp:location in HttpBinding to access the service operations in there. But im getting EPR not found for operation error in the response. For the attached sample i have defined the whttp:location for "getPrice" operation as whttp:location="price/{symbol}"
> Steps to reproduce:
> 1. Deploy the attached service
> 2. Access http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM, it will return a value
> 3. Access http://localhost:8080/axis2/services/StockQuoteService/price/IBM, it will return an EPR not found error.
--
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