Hello All:
After failing in my attempts to find timeout options that were related to this
issue, I tried a different HTTP client: org.restlet.ext.net.httpclienthelper.
After I added org.restlet.ext.net.jar to my project the timeout issues went
away. I tested the upload process with even more
Hello All:
I have received a reply my counter party regarding the above issue. Their logs
indicate that the POST is completing successfully I am timing out.
Below is the code I am using to post dozens of documents, but I get occasional
timeouts.
cr = new ClientResour
On Wed, Mar 9, 2011 at 8:22 AM, Thierry Boileau
wrote:
> Hello Cédric,
>
> what happens if you test this?
> ClientResource res = new ClientResource("http://www.restlet.org";);
> res.get().write(System.out);
>
> Did you try another client connector, for example the one provided by the
> "net" exte
Hello Cédric,
what happens if you test this?
ClientResource res = new ClientResource("http://www.restlet.org";);
res.get().write(System.out);
Did you try another client connector, for example the one provided by the "net"
extension? I mean, can you add the org.restlet.ext.net.jar to the classpa
Hello Thierry,
thx for your help but unfortunately, I have the same error message when I
use the *ClientResource.get()* method instead of *ClientResource.handle()*.
Note: when I get content from a local server, I do not have any trouble.
This exception is thrown only when trying to get content t
Hello Cédric,
using a ClientResource, you can directly use the "get" method.
ClientResource res = new ClientResource(uri); // URI is a parameter that
leads to an XML file on a server
res.setRetryOnError(false);
res.setChallengeResponse(challengeScheme, identifier, new String(secret));
// identifi
ogies ~ http://www.noelios.com
-Message d'origine-
De : Thierry Boileau [mailto:thierry.boil...@noelios.com]
Envoyé : jeudi 8 avril 2010 17:27
À : discuss@restlet.tigris.org
Objet : RE: Re: Internal Connector Error (1002) [GWT 2.0,
restlet-gwt-2.0rc2]
Hello,
such 405 error happen
Hello,
such 405 error happens when the target resource does not "implement" the
request's method. Is your resource designed to answer to "GET" requests?
What happens if you send a PUT request?
Best regards,
Thierry Boileau
--
http://restlet.ti
The URL is correct. When I do a GET via browser, I get the message that GET
is not supported.
HTTP Status 405 - Request method 'GET' not supported
--
*type* Status report
*message* *Request method 'GET' not supported*
*description* *The specified HTTP method is not
Hello,
I just wonder if this URL is correct
(http://localhost:8080/webapp/rest/content1.xml). What happen if you try to
hit it manually (GET via a browser, or PUT via a classic HTTP client).
Best regards,
Thierry Boileau
--
http://restlet.t
Munzi [mailto:eris4.mu...@gmail.com]
Envoyé : jeudi 6 août 2009 12:24
À : discuss@restlet.tigris.org
Objet : RE: Re: Internal Connector Error (1002) - allowUserInteraction is
not supported.
Ok,
sorry for bothering you...
What about my "technical" p
Ok,
sorry for bothering you...
What about my "technical" posts???
Thanks
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380769
Hello Patrizio,
due to spam restrictions, we have to manually approve all incoming
messages from "untrusted" users. We try to do it regularly according to
our free time...
best regards,
Thierry Boileau
> Hi,
>
> I did two post about this problem, with a solution in second post.
>
> However
Hi everybody,
Yesterday I posted onto this thread reporting the same very problem, and
showing the exception I get.
My post haven't been shown yet...
Anyway I'm back to tell you that I solved the issue.
I simply commented the following line into the
org.restlet.ext.net.HttpUrlConnectionCall co
Hi,
I did two post about this problem, with a solution in second post.
However my posts haven't been shown yet and nobody answered.
Could someone help me in this...??
Thanks
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMes
Hello Olivier,
what kind of client connector are you using? the internal one, the one
based on the JDK, the one based on Apache HTTPClient?
Best regards,
Thierry Boileau
> Ok, but you don't seem to use any Client instance on the server-side, which
> is what I do.
>
> Olivier
>
>
>> Make sur
Ok, but you don't seem to use any Client instance on the server-side, which is
what I do.
Olivier
> Make sure you have org.restlet.gae.jar on WEB-IN/lib.
>
>
> This works:
>
>
> public void acceptRepresentation(Representation entity)
> throws ResourceException {
> if (entity.
Make sure you have org.restlet.gae.jar on WEB-IN/lib.
This works:
public void acceptRepresentation(Representation entity)
throws ResourceException {
if (entity.getMediaType().equals(MediaType.TEXT_XML, true)) {
DomRepresentation result = null;
Docume
This works for me, too.
Forgot to mention that my problem occurs on the server-side!
Olivier
> Hello,
>
> This is working for me:
>
> Button getXMLButton = new Button("Get XML");
> getXMLButton.addClickListener(new ClickListener() {
> @Override
> public
Hello,
This is working for me:
Button getXMLButton = new Button("Get XML");
getXMLButton.addClickListener(new ClickListener() {
@Override
public void onClick(Widget sender) {
final Client client = new Client(Protocol.HTTP);
c
20 matches
Mail list logo