exception while trying to convert json into object representation

2010-04-14 Thread CB
hi, I'm using the Restlet SE Client in order to send a JSON into a @Put(json) annotated Resource method. The method takes a parameter (the target to which XStream is trying to convert the source json representation) I get the following exception on the server: WARNING: Exception or error

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

A Couple Restlet 2.0rc2 Documentation Comments

2010-04-14 Thread Alex Milowski
I've been attempting to upgrade my Restlet-based projects to the latest Restlet 2.0rc2 release. Things have been going well but I've had to resort to inspecting the code to figure out how to properly use the API as the javadoc seems to be insufficient. Here's a couple of things I found a bit too

openid example

2010-04-14 Thread Zsolt Czinkos
Hello Does anyone have a simple (or not so simple) openid authentication example? With openid4java or other client library. Thanks for your help. Best, Zsolt -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2582337

Re: Serving static files from jar: Spring config expert needed!

2010-04-14 Thread kevinpauli
BTW when showing my Spring config I forgot to include the clap in the client list in my root component. It's presence is not helping the problem, but I wanted to give an accurate view of my spring config as it stands, in case anyone was willing to help me: bean id=rootRestletComponent

Re: Serving static files from jar: Spring config expert needed!

2010-04-14 Thread kevinpauli
The problem seems to be that Spring instantiates the Directory before it invokes the setClientList() on the root component. So the context with which the Directory is constructed still has a null clientDispatcher. I worked around the problem by modifying my custom servlet to reset the context on

JAAS and JBoss 5.1

2010-04-14 Thread kevinpauli
Anyone integrated the JaasVerifier into a JBoss 5.1 environment? Looking for an example... otherwise I'll hack on it and post my findings here later. -- View this message in context: http://n2.nabble.com/JAAS-and-JBoss-5-1-tp4904649p4904649.html Sent from the Restlet Discuss mailing list