Hello,

  I have made the changes in both the services.xml file ->
            Enable the Rest Method as GET
            Include the value for rest Loccation

  I have also changed my EPR to point to the GET URL

  It is after doing these changes I am receiveing the error. More so, please 
look that in my debigging I did not find the code that resolves the service and 
operation name from the URL.

Thanx,
Rinil

________________________________
From: Samisa Abeysinghe [mailto:sam...@wso2.com]
Sent: Tuesday, April 28, 2009 6:04 AM
To: Apache AXIS C Developers List
Subject: Re: Problem with REST GET support

You have to change the endpoint address to map to the GET request, as opposed 
to POST request.
Have you done that?

Thanks,
Samisa...
On Tue, Apr 28, 2009 at 3:20 PM, Baxi, Rinilkumar (TCS) 
<rinilkumar.b...@hp.com<mailto:rinilkumar.b...@hp.com>> wrote:

Hello,



  I have been trying to work with the Axis2/C echo_rest client's get method. I 
am calling the echo service using the -mGET option. I would like to tell that 
the same client works pretty fine with POST method but returns SERVER ERROR 
with Get option.



   I debugged this issue and found that when the Get option is chosen, the REST 
base dispatcher is not called. Infact I am not able to understand how does the 
GET method find the service and operation name?



   Please help me here. It is a bit urgent.



Thanks,

Rinil



--
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"

Reply via email to