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>
</operation>
From: A S, Badareenath (NSDi) [mailto:[email protected]]
Sent: Tuesday, June 05, 2012 5:25 AM
To: [email protected]
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
http://www.mail-archive.com/[email protected]/msg02096.html 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 supported?
I've tried firing request through command line using 'curl' tool. Even then
server responds nothing.
[cid:[email protected]]
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
***
<<inline: image001.png>>
