Re: Routing in Restlet JAX-RS applications

2008-08-21 Thread Stephan Koops
Hi Roman, after a short review this seems to me to be a bug. The matching needs a rework, because the specification changes at some points in JAX-RS 0.10. I hope I have time for it the next days. I will also take a look into your message about UriInfo.getPath(). If it is ok, I will use your

Re: WADL howto?

2008-08-21 Thread john . wismar
"Vincent Ricard" <[EMAIL PROTECTED]> wrote on 08/21/2008 09:12:09 AM: > Hi Ralf, > > > Does the WADL extension support this (from my understanding it does) and > > are there any tutorials for it? It haven't found anything yet, besides > > the API, and to figure it out with from API alone is a li

Problem with UriInfo.getPath()

2008-08-21 Thread Roman Geus
Hello all Calling the code @Path("test") public class UriInfoResource { @GET @Path("example") @Produces("text/plain") public String getPlain(@Context UriInfo uriInfo) { StringBuilder sb = new StringBuilder(); sb.append("UriInfo data:\n"); List segm

Re: WADL howto?

2008-08-21 Thread Vincent Ricard
Hi Ralf, > Does the WADL extension support this (from my understanding it does) and > are there any tutorials for it? It haven't found anything yet, besides > the API, and to figure it out with from API alone is a litte tiresome ;) I used the wadl component in the other way (specify the wadl file

WADL howto?

2008-08-21 Thread Ralf Bommersbach
Hello, I read in the RC1 release note about the wadl-support and since it is one of the requirements of my application that it should be discoverable, it thought that it would be nice if I could automatically generate a WADL description of my application (e.g. to publish it in a catalogue/reg

Re: Routing in Restlet JAX-RS applications

2008-08-21 Thread Roman Geus
Hi all I did some further testing: The URL http://host/admin/foo/bar/schema/simple matches the path template @Path("{project}/{repository}") In this case the path parameter {project} is assigned "foo/bar/schema" and {repository} is assigned "simple". This is clearly not what I would expe

RC1: connector with no protocols

2008-08-21 Thread Paolo Borelli
Hi, I am trying to upgrade from M4 to RC1, and I think I made the fixes related to Context-handling needed to get it up and running. In fact if I run it with the built in server things seem to work. However I am facing a problem when running inside Tomcat: Restlet tells me that the conne