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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
16 matches
Mail list logo