RE: Internal Connector Error (1002) --> exception

2011-07-07 Thread KD
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

RE: Internal Connector Error (1002) --> exception

2011-07-05 Thread KD
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

Re: Re: Internal Connector Error (1002)

2011-03-11 Thread Alex Milowski
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

RE: Re: Internal Connector Error (1002)

2011-03-09 Thread Thierry Boileau
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

Re: Internal Connector Error (1002)

2011-03-09 Thread Vidrequin
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

Re: Internal Connector Error (1002)

2011-03-09 Thread Thierry Boileau
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

RE: Re: Internal Connector Error (1002) [GWT 2.0, restlet-gwt-2.0rc2]

2010-04-23 Thread Jerome Louvel
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

RE: Re: Internal Connector Error (1002) [GWT 2.0, restlet-gwt-2.0rc2]

2010-04-08 Thread Thierry Boileau
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

Re: Internal Connector Error (1002) [GWT 2.0, restlet-gwt-2.0rc2]

2010-04-07 Thread D G
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

RE: Internal Connector Error (1002) [GWT 2.0, restlet-gwt-2.0rc2]

2010-04-07 Thread Thierry Boileau
Hello, I just wonder if this URL is correct (http://localhost:808​0/webapp/rest/conten​t1.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

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-17 Thread Jerome Louvel
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

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread Patrizio Munzi
Ok, sorry for bothering you... What about my "technical" posts??? Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380769

Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread Thierry Boileau
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

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread webpost
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

RE: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread Patrizio Munzi
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

Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-04-27 Thread Thierry Boileau
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

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-04-25 Thread Olivier Bruchez
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.

Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-04-24 Thread Jose Javier García Zornoza
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

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-04-23 Thread webpost
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

Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-04-23 Thread Jose Javier García Zornoza
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