axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A S, Badareenath (NSDi)" <>
Subject RE: Is query string GET REST calls supported?
Date Wed, 06 Jun 2012 05:21:14 GMT
Thanks for your reply :)

Yes my services.xml is setup as you have mentioned. It is able to serve request for URL pattern
GET calls but failing to respond for query string GET calls. Is there any separate setup for
this to work well?


From: George Loring []
Sent: Wednesday, June 06, 2012 3:21 AM
To: Apache AXIS C Developers List
Subject: RE: Is query string GET REST calls supported?

Is your services.xml file setup correctly to handle GET requests?  Similar to the following
(though obviously the values would be changed for your specific service)..

<operation name="locate">
<parameter name="RESTMethod">GET</parameter>
<parameter name="RESTLocation">location/{lat}/{long}</parameter>

From: A S, Badareenath (NSDi) []<mailto:[]>
Sent: Tuesday, June 05, 2012 5:25 AM
Subject: Is query string GET REST calls supported?

Reason why I'm asking,

1.       Nowhere in the document it is mentioned that it is supported.

2.       In the provided samples also, only URL pattern GET calls are explained ( ex: http://localhost:9090/axis2/services/echo/echoString/hello
) and query string GET calls are found nowhere (http://localhost:9090/axis2/services/echo/echoString?text=hello)
in the samples

3.       In this link,
it is said that "If you are using the web browser and do not see anything, then try to view
source." Does it mean it is supported but has some issues or it is problem of browser or not

I've tried firing request through command line using 'curl' tool. Even then server responds


This email and any files transmitted with it are confidential and intended solely for the
individual or entity to whom they are addressed. If you have received this email in error
destroy it immediately. *** Walmart Confidential ***

View raw message