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

Kishanthan Thangarajah updated AXIS2-5247:
------------------------------------------

    Description: 
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. 


  was:
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 
"price" operation as whttp:location="price/{symbol}"

Steps to reproduce:
1. Deploy the attached service
2. Access 
http://localhost:8080/axis2/services/StockQuoteService/price?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. 


    
> 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
>             Fix For: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to