RE: Re: Sending server side exceptions / error codes back to client

2012-01-27 Thread D G
Hello, Do you know in which version it used to work fine ? We can downgrade or upgrade to that version . Also, how can I download that version ? Thanks Deep -- View this message in context:

Sending server side exceptions / error codes back to client

2012-01-24 Thread D G
We have a restlet server and client. We need to pass the error status and exceptions back to the client so that the client can take appropriate actions depending on the error status code. I read about StatusService and using response.setStatus() method but I can't get the specific exceptions

Re: Sending server side exceptions / error codes back to client

2012-01-24 Thread D G
I have over ridden the getStatus method of the custom status service and set the status and returned it. I have tried various things but the status on the client side always show as Server Internal Error and no error message / description is available. I've confirmed that the getStatus method is

Re: Sending server side exceptions / error codes back to client

2012-01-24 Thread D G
Thanks Tim for your response. Earlier I was using 2.0.9 and after your response, I tried with 2.1-RC2. However, I see the same result :((. Code in the status is 507 and description = Insufficient Storage In apache logs, I see * Jan 25, 2012 12:16:56

Sessions in web applications using RESTlet ?

2011-10-10 Thread D G
Hello all RESTlet experts, I am new to RESTful web services and RESTlet. WE only have experience building servlet based web applications (Servlet/JSP on JBoss/Apache). Now, we are building a RESTlet based application where the server side API would be used by two types of clients - web using

Re: RESTLet 2.0.9 - Multiple @Get and @Post Annotations or other alternatives ?

2011-09-30 Thread D G
We are really stuck. Any help please on this query is appreciated. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/RESTLet-2-0-9-Multiple-Get-and-Post-Annotations-or-other-alternatives-tp6843005p6847679.html Sent from the Restlet Discuss mailing list archive at

RESTLet 2.0.9 - Multiple @Get and @Post Annotations or other alternatives ?

2011-09-29 Thread D G
Hello, I am new to RESTLet and using 2.0.9. What I want to do is have multiple methods with @Get @POST annotation. I have access to the VO classes (value objects) and so I don't need to use JSON or XML representation. I have used the excellent tutorial available at

RE: Is Multiple Get and Put annotations Possible?

2011-09-29 Thread D G
I don't see a section called Annotations Parameter. Am I missing some thing here ? Also, is there any tutorial or documentation with details @ annotation in RestLet. Thanks, Deep -- View this message in context:

Re: Re: Please help: Standalone RESTLET client works but the GWT RESTLET client doesn't

2010-04-14 Thread D G
Hi, Now when I invoke the Restful web svc with POST request, I get an exception: org.restlet.client.resource.ResourceException: *Unsupported Media Type* * * The web service is running on localhost:8080 under tomcat and is designed using SPRING REST framework. Below is the client code from GWT

Please help: Standalone RESTLET client works but the GWT RESTLET client doesn't

2010-04-09 Thread D G
Hello, I have been trying to debug the issue that I am having while trying to invoke Restful web service via GWT client. I am using GWT 2.0 and restlet-gwt-2.0rc2. What I did today is I tried with a stand alone client (using restlet-jse-2.0rc2) and try to invoke the web service

Re: Please help: Standalone RESTLET client works but the GWT RESTLET client doesn't

2010-04-09 Thread D G
Thanks. That was same origin policy issue. I deployed the web app to tomcat (localhost:8080 ) and it worked!!. However, my other issue of POST with serialized User object still persists. I had submitted other posts yestereday. Any idea what could be causing that ? Thanks. -Deep On Fri, Apr 9,

Re: Error while invoking web svc (GWT 2.0, restlet-gwt-2.0rc2)

2010-04-07 Thread D G
I tried the workaround solution suggested by you i.e. I returned a User object instead of String. However, now I get this run time exception *Internal Connector Error (1002) *when I invoke the web svc (exception after the code below). The code is : btSubmit.addClickHandler(new ClickHandler() {

Internal Connector Error (1002) [GWT 2.0, restlet-gwt-2.0rc2]

2010-04-07 Thread D G
Hello, I am using GWT 2.0 and restlet-gwt-2.0rc2 to develop a client that will invoke REST web services. The web service accepts a POST request with a User object. I followed the example at http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html . The only difference

RE: Form submission using Resetlet based GWT client

2010-04-06 Thread D G
Thanks Thierry for your response. This helped a lot!! -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2498267

Error while invoking web svc (GWT 2.0, restlet-gwt-2.0rc2)

2010-04-06 Thread D G
Hello, I am using GWT 2.0 and restlet-gwt-2.0rc2 to develop a client that will invoke REST web services. The web service accepts a POST request with a User object. I followed the example at http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html . The only difference

Re: Error while invoking web svc (GWT 2.0, restlet-gwt-2.0rc2)

2010-04-06 Thread D G
Thanks a *lot* for a prompt response. I will try with the changes you have suggested. To confirm - Is this a bug in RESTLET or GWT or something I am doing wrong ? -Thanks, Deepak On Tue, Apr 6, 2010 at 6:06 PM, Thierry Boileau [via Restlet Discuss]

RE: Form parameter encoding in GWT

2010-04-01 Thread D G
Hi Harald, I am also working to develop a RESTLET based GWT client. And I am a newbie to both RESTLET and GWT. Can you pls provide an example how to submit a FORM i.e. invoke a RESTful web service using the FORM data in RESTLET based GWT client? I hope my question is clear. Thanks for your

Form submission using Resetlet based GWT client

2010-03-31 Thread D G
I am trying to develop a GWT client that will call RESTful web services on the server side. Can you please provide a example code that demonstrates how to send a POST HTTP request using GWT FormPanel ? How should I send the data ? Any help will be appreciated. My code is like: