Gupta, Shivam wrote:
Hi,
Yes I have. Infact, if I haven't enabled it, even the echo_rest client should not have worked.
If you are using echo service from current trunk, only POST method is
enabled in service.xml. So, echo_rest client will work(by default it
will do POST) but not the invocation from browser. As samisa said, you
have to enable GET method in service.xml of echo service and then try.
If you can capture the message using tcpmon, then you can see whether
client is doing POST or GET. If it is GET, then if you could attach the
messages, we could be able to find the problem.
Regards,
Shankar.
Please help.
Thanks,
Shivam.
-----Original Message-----
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 7:48 PM
To: Apache AXIS C Developers List
Subject: Re: REST support on Axis2/C
Have you enabled GET method in your service?
Samisa...
Gupta, Shivam wrote:
Hello,
I have been trying to invoke the echo web service supplied with
Axis2/C using REST based invocation. When I try using the echo_rest
client, the service responds just fine.
However, when I try to invoke the echo web sercvice using a web
browser, I get no response from the Axis. The browser just hangs in a
wait state. Could you tell me what could possibly be going wrong? I
entered the following query styring in the URL window of the browser:
http://172.31.24.18:2106/axis2c/services/echo/echoString?text='hello'
<http://172.31.24.18:2106/axis2c/services/echo/echoString?text=%27hell
o%27>
It would be great if you could help me here.
Thanks,
Shivam.
----------------------------------------------------------------------
--
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.8.0/1724 - Release Date:
10/14/2008 2:02 AM
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]