Re: Restelt Client Internal Connector Error (1002)

2015-03-12 Thread Thierry Templier
Hello, For your information, I answered to your StackOverflow question (see http://stackoverflow.com/questions/28973184/restlet-client-internal-connector-error-1002/28975178#28975178) . Thierry Le 11 mars 2015 00:52, "Jerome Louvel" a écrit : > If you need to stick with version 2.1, I recommend

Re: Can I buy domain and attach Restlet. The application we designed then can access it worldwide.

2013-08-11 Thread Thierry Templier
Hi Adam, Yes, sure. In fact, it depends on what you want to do. Do you want to host your application by your own or use an hosting platform like AppFog or Google App Engine? If you want hosting platform, you simply need to host them basing on the servlet extension of Restlet. Configuring the d

Re: Upload image to restlet server

2013-03-12 Thread Thierry Templier
Hello, Can you give us more details about the version of Restlet you use? Can you also show us how you execute your request from the client (with XMLHttpRequest) and what is the signature of your annotated method in your server resource? Thanks, Thierry > Hi, > I'm trying to upload an image to

Re: Serving static files using Directory and CLAP from a jar

2013-01-10 Thread Thierry Templier
Hi Robert, Please note that we're working on a tutorial for Restlet. Whereas this work is currently in progress, there is a section about that yet: https://github.com/restlet/restlet-tutorial/blob/master/modules/org.restlet.tutorial.markdown/02_Server_Side/01_Server_Application_Foundations/01_Ap

Re: GAE + RESTLET method to initialize app

2012-12-06 Thread Thierry Templier
Hello, In fact, in my previous answer, I give you the different possibilities. The servlet listener option could be used if you want to externalize your init processing from your restlet application. If not, using your application constructor seems to be suitable. Thierry > Do you say use (the

Re: GAE + RESTLET method to initialize app

2012-12-05 Thread Thierry Templier
Hello, There are several possibilities for your initialization code depending on what you want to do. You can use the constructor of your Restlet application implementation, but if you want to be tied to the Restlet application lifecycle, you should consider to override its start method (and e

RE: New blog posts on latest releases, GitHub migration, Apache license and Restlet SAS

2012-06-04 Thread Thierry Templier
Hello Xavier, At the moment, only the client part is usable but we're actively working on the server part. Yes, of course, this aim is to communicate with any REST application (Restlet or other, regardless of the application languages). So if you have problems with this aspect, it's a bug that

Re: OSGI startup issue

2012-04-20 Thread Thierry Templier
Hello Dmitry, I think that it's more an OSGi container issue than a Restlet one. You can specify additional packages that are available at startup through configuration property. For example, with Equinox and Felix, you can configure this aspect in the corresponding configuration file as descr

Re: Restlet client support (browser)

2012-03-22 Thread Thierry Templier
Hi Felipe, The JavaScript edition development is in progress but active and can be used. All core and main processing (Request/Response, ClientResource, content negotiation, header management) are implemented. However, if you find a feature you need, I'll be pleased to implement it in priority.

Re: Mystery of @Post...

2012-03-14 Thread Thierry Templier
Hello Richard, Can you make a test with the latest snapshot? I think that the problem is fixed now... Tell me if it's the case. Thanks. Thierry > First, the good news. My code is working. But I don't understand WHY it > works. > > Using Restlet and the "Annotated Interface" approach, described

Re: Post problems when using Restlet Javascript Edition...

2012-02-23 Thread Thierry Templier
Hello Richard, I answer in the message content. > Thierry: > > Thanks so much for your help. The short version is that the latest > Restlet JS code (plus one change in my code) fixes my problem with > post(). There is one "strangeness" that I will describe below, but it > isn't a big problem

Re: Post problems when using Restlet Javascript Edition...

2012-02-22 Thread Thierry Templier
Hello Richard, Regarding the post HTTP method and the annotated methods server resources, I updated the header management in the JavaScript edition. The routing to such methods is based on the Content-Type header. I committed all my updates in GitHub, so feel free to make some tests and give m

Re: Post problems when using Restlet Javascript Edition...

2012-02-15 Thread Thierry Templier
Hello Richard, It could be either an HTTP header not correctly in the JS part or a problem on methods signatures within ServerResource class... Can you give me the request content of both calls from Java and JS? - For Java, simply active tracing mode on the ClientResource client (http://templt

Re: Would I be correct in assuming that the Javascript Edition for Restlet is inactive?

2012-02-14 Thread Thierry Templier
Hello Richard, In fact, the JavaScript edition is currently in progress but we are in early stages... Feel free to have a look at the issues in GitHub. We make our utmost to provide this stuff as quick as possible and to follow same API and mechanisms than the Java one. Otherwise I'd be please

Re: Post problems when using Restlet Javascript Edition...

2012-02-14 Thread Thierry Templier
Hello Richard, It seems that the missing EncodingWriter class is called in the restlet-browser.js. For information, the header management processing is still under development but your code should work! Can you open an issue on GitHub and attachment your source code so we can fix the problem q

Problem when accessing website with Java using HTTPS (not trusted certificate)

2011-05-03 Thread Thierry Templier
Hello, I try to access a site using HTTP from a Restlet application. Since the application is running in a development environment, the corresponding certificate isn't trusted. When using javax.net.ssl package, I try to define a custom TrustManager implementation that allows everything and pas