Re: Spring integration questions

2009-03-03 Thread Rhett Sutphin
Hi Evgeny, On Mar 2, 2009, at 11:01 AM, Evgeny Shepelyuk wrote: > Hello ! > > There's some questions are raised again when trying to start up > restlet > project with Spring. > During development i do have some deep feeling that restlet has not > much > robust Spring integration. > Especially

RE: GWT Restlet Callback

2009-03-03 Thread Scooter Willis
I figured out how to do this using the following and ran into another api problem that was easy to fix with source. I posted an earlier message about a problem I was having doing incremental updates when developing with GWT that are a problem with innerclasses. For some reason doing incremental

GWT Restlet Callback

2009-03-03 Thread webpost
I wanted to say a quick thanks for an excellent API/toolkit. I had no trouble getting XML data via REST calls integrated into our GWT application. Not a big fan of innerclasses but they are convenient given the examples of defining the callback class for a particular REST call. The problem I am

Re: Restlet 1.1.3

2009-03-03 Thread Thierry Boileau
Hello Donald, at this time distributions don't contain the build script. I've created an issue for that point: http://restlet.tigris.org/issues/show_bug.cgi?id=750 best regards, Thierry Boileau > Thanks Thierry, > > I have that source but unfortunately it does not include the ant build > scrip

Re: Embedding hierarchy of differing depths in URIs

2009-03-03 Thread Thierry Boileau
Hello, it is more a matter of URI design that compliance to REST principles. If there is a real hierarchy, well, it seems correct. Do all URIs identify the same kind of resource, the same concept? If so, you can proceed as follow: Route route = router.attach("/{hierarchy}/{data}", ); Template

RE: POST/PUT requests take more than 2 seconds

2009-03-03 Thread Olivier Bruchez
Hi again, I'm working on this project again (after more than one month of interruption). I'm now using: - Restlet 1.1.3 - curl 7.16.3 - RESTClient 2.3 - the same sample code as Avi (see link to his message below) Here are the results with curl: > time curl -X POST -d @test.txt http://local

Re: Transformer -- dynamic use

2009-03-03 Thread Thierry Boileau
Hi, by the way, you can also define a unique Resource for the main reason that there is no need to make a distinction based on the format. Both HTML and XML representations vehicle the same data and represent the same concept, ie resource. That is to say : * Have a single resource router.attac

Re: Transformer -- dynamic use

2009-03-03 Thread Thierry Boileau
Hi, could you try with another kind of representations (not DomRepresentation) such as FileRepresentation or StringRepresentation for both XML and XSLT files? Representation xmlRepresentation = new FileRepresentation("/path/to/file.xml", MediaType.TEXT_XML)); Representation xsltRepresentation

Re: Transformer -- dynamic use

2009-03-03 Thread Stephan Koops
Hi mbutner, sounds to me that your XML file is corrupt. Do you checked this? best regards Stephan mbut...@gmail.com schrieb: > Hi -- > > I have a router in my createRoot method which looks like: > router.attach("/{device}/{format}/filelist", > Fil

Re: Bad paths returned in the Content-Location header from Directories using the File protocol?

2009-03-03 Thread Thierry Boileau
Hi David, the fix is available in the svn repository. Best regards, Thierry Boileau > Hello David > > Thanks for the reports, this is a bug. A new RFC has been entered : > http://restlet.tigris.org/issues/show_bug.cgi?id=749 > > best regards, > Thierry Boileau > > >> Hi Thierry- >> >> Thanks

Re: Bad paths returned in the Content-Location header from Directories using the File protocol?

2009-03-03 Thread Thierry Boileau
Hello David Thanks for the reports, this is a bug. A new RFC has been entered : http://restlet.tigris.org/issues/show_bug.cgi?id=749 best regards, Thierry Boileau > Hi Thierry- > > Thanks for the fix! It appears to work correctly on the svn head. > > We're seeing another problem with Content-Lo

Re: Patch: OSGi dependency in fileupload

2009-03-03 Thread Thierry Boileau
Hello Rob, thanks for the patches, it is now available in the svn repository. best regards, Thierry Boileau > Another one: dbcp depends on pool.impl at runtime: > > Index: META-INF/MANIFEST.MF > === > --- META-INF/MANIFEST.MF (revi

Embedding hierarchy of differing depths in URIs

2009-03-03 Thread webpost
There are hierarchies which i need to expose. E.g. foo.com/1/2/3/data foo.com/5/6/data foo.com/5/7/8/9/data foo.com/0/10/11/12/13/14/15/data Different hierarchies are of differing depths which can be known only at runtime. Also there are numerous hierarchies. My first question is whether this is