Re: DirectoryServerResource and directoryRedirection

2010-06-25 Thread Alexander Kampmann
hi, look at the way routing works: http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/326-restlet.html. You may either change your matching mode to MODE_START_WITH or use one of the tricks from the routing and queries- section. Alex Original-Nachricht Datum: Wed, 23

Re: OpenOffice extension crashes

2010-07-14 Thread Alexander Kampmann
hi david, I'm sorry, but you didn't give enough information. Is there any Exception (maybe in a log- file)? Or an error code? Any error message? Try starting OpenOffice from the command line, does any exception appears there? Do you use restlet to connect to an existing Restful Web Service

Re: How to inject a Spring bean service into a Restlet component

2010-07-24 Thread Alexander Kampmann
hi, The Servlet is quite right. For me, it works like that: web.xml: Register a spring- listener: listener listener-class org.springframework.web.context.ContextLoaderListener /listener-class /listener Don't forget about the config file: context-param

Re: Send parameter in @Get method from Android to GAE

2010-08-13 Thread Alexander Kampmann
hi, consider usage of either a parameter as part of the URI. This may look like that http://myserver.appspot.com/contacts/{contactId} with {contactId} replaced by the id of the asked Contact. Another possibility is working with query strings like that:

Problem using Base64

2010-08-13 Thread Alexander Kampmann
hi, to use Java's Decryption and Encryption functions, I need a way to de- and encode Strings using Base64. It's a restlet- based project, so I think it is okay to use restlet's Base64- class (there is one in SUN- JDK itself, but it is in an internal sun- package, so it will not exists in

Re: concept of REST and HTTP itself

2010-08-13 Thread Alexander Kampmann
REST just means, that you use common technics/protocolls such as HTML to access your or someone else data. That's wise, cause there are a lot of implementations of that protocolls, so it is easy to access your data from any plattform (there are restlet- implementations for Android, JEE, JSE

Re: Use of ClientResource inside a server resource

2010-09-13 Thread Alexander Kampmann
hi, does that configuration in web.xml even work, if FrameworkServlet is used instead of RestletServlet? I am using tomcat+spring on the Server- side and got problems which, in my eyes, are related to a missing protocol on server side. Btw: 1) Why isn't HTTP/1.1 added by default when using a

Re: POST Requests return with a 405 with @Post annotated method

2010-10-17 Thread Alexander Kampmann
hello, I am using the restlet- jars from the maven.restlet.org- Repository (so, the public ones). That means, they are refreshed on the 1st and the 15th of each month. Due to that, Thierry's changes should be in there by now (he reported them on 22th of September). My Version is JEE Restlet

Re: POST Requests return with a 405 with @Post annotated method

2010-10-17 Thread Alexander Kampmann
I would like to try an own build, but neither ant nor maven work for me. On 17.10.2010 14:56, Alexander Kampmann wrote: hello, I am using the restlet- jars from the maven.restlet.org- Repository (so, the public ones). That means, they are refreshed on the 1st and the 15th of each month. Due

Re: POST Requests return with a 405 with @Post annotated method

2010-10-18 Thread Alexander Kampmann
Same error with 2.1... On 17.10.2010 16:32, Alexander Kampmann wrote: I would like to try an own build, but neither ant nor maven work for me. On 17.10.2010 14:56, Alexander Kampmann wrote: hello, I am using the restlet- jars from the maven.restlet.org- Repository (so, the public ones

Re: POST Requests return with a 405 with @Post annotated method

2010-10-19 Thread Alexander Kampmann
Same problem, using SpringServer... I would like to fix that bug by myself, but I still cannot compile restlet. Ant build just gets stuck somewhere in the Tests (last message is Running org.restlet.test.RestletTestSuite), while maven obvirously cannot load all dependencies (netty and db4o seems

Re: POST Requests return with a 405 with @Post annotated method

2010-10-21 Thread Alexander Kampmann
hi Thierry, my thought was, that ANT is capable in building things out of templates, so I can choose which edition to build in that properties file. As far as I know, there is no such mechanism in maven. Every maven project will have exactly one groupId, there is no (easy) way to persuade

Re: NoSuchMethodException in HTTPClientConnector?

2011-01-23 Thread Alexander Kampmann
Hello Thierry, you are right about that. There was a dependency which should have gone long before in my maven- pom. Thanks, removing it even solved another bug ;) I think that solved the problem client side, but another one arises. On the serverside, the jetty- extension does not start. The

Re: NoSuchMethodException in HTTPClientConnector?

2011-01-24 Thread Alexander Kampmann
I've tried with the simple connector and got the same problem. On 23.01.2011 21:22, Alexander Kampmann wrote: Hello Thierry, you are right about that. There was a dependency which should have gone long before in my maven- pom. Thanks, removing it even solved another bug ;) I think