Hi I am developing an application with Flex for the GUI and Restlet for the webservices. I have a strange problem. I put my XML as a property on a generic object, and send it as part of a POST request. But in the Restlet webservice, this XML is irretrievable. How do I retrieve it?
I tried initialising the received Representation object ...
I'm using Restlet to make a RESTful platform. I haven't used it before, but I decided to use 2.0 because it is better to start with the latest and greatest technology, right?
The key thing I am looking for is the ability to have someone to put in a URL like http://mysite/New%20York/3 and have the service respond with something like [Ne...
Hi All,
I am running Restful web service on 8182 port using restlet framework. I am trying to authenticate user to hit the service. i.g.
I have a query string like this http://localhost:8182/api/service/customers/?key="XXXXXXXXX"
My doubts are:
How to get value of parameter key in Resource class/Application class, so i can authentic...
I simply want to disable Restlet's logging to stdout/stderr in my project and forward all Restlet logging through the SLF4J facade provided by org.restlet.ext.slf4j. Is there an easy way to do this?
...
I have been playing with the source code available from the following tutorial.
The GWT/GAE application works in development mode, however when its deployed, the server always returns the response in the JSON format.
I am using the Restlet 2.0 Testing jars, and have also included the dependent libraries.
thank you
...
How can I identify the resource media type in RESTlet2, I tried following in my class extended from ServerResource
@Get
public Object onGET(){
System.out.println("=================");
System.out.println(this.getRequestEntity().getMediaType());
...
It prints a null when I do any request. I want to get the list of all Accept medi...
Simplified code example: http://pastebin.com/9ZQxSXi9
Hi
I wanted to experiment with the restlet 2.0 library and the gpodder webservice but somehow i reached a point where I can't see the wood for the trees.
The service in the example requires HTTP authentication and to post some JSON content to a URL.
Nothing that complicated but som...