Le 29.12.2009 17:52, webp...@tigris.org a écrit : Hello,
I've just tried, and it works for me with the internam client connector:
using ClientResource
ClientResource r = new
ClientResource(http://localhost:8182/hello;);
r.getRequest().setDate(new Date());
Hi Thierry,
Compliments of the season..
The problem isnt that a date is not passed through in the header.
Its that it always the current date/time and not the date/time i specify. I'm
using the internal connector to do this test. It is part of my security tests
to test for request expiry,
Hi,
Its that it always the current date/time and not the date/time i specify.
yes, and I notice the message's date is always set with the current date
(see HeaderUtils#addGeneralHeaders). I've entered an issue =
http://restlet.tigris.org/issues/show_bug.cgi?id=1001.
We will have a look at it
Hi,
I am new to Restlet and restful webservices. I want to pass a String(XML
format) into request and invoke the Restful webservices.
Below code is working for normal call.
import java.io.IOException;
import org.restlet.Client;
import org.restlet.data.Protocol;
public class SimpleClient {
Hello Murugesan,
you seem to have the remote resource (the one identified by the uri
variable) on one hand, but what method do you want to invoke on this
resource?
You must refer to the Yahoo search API, in order to know how you can
pass this data.
As I suppose you want to POST some data, you
Hi Murugesan,
one part of the question is located in the yahoo API (you seem to target
a yahoo resource). If the API says that you can send the XML text using
the post method (which is certain), you can use the code I sent you in
my last email.
You can have a look at the tutorial or the first
Hi,
I am new to Restlet and restful webservices. I want to pass a authentication
details for Restful webservices into request and invoke the Restful
webservices.
import java.io.IOException;
import org.restlet.Client;
import org.restlet.data.Protocol;
public class SimpleClient {
public
Thx for your quick reply. Actually I want to pass XML into request and update
DB and get response using RESTful webservices.
My Request parameter in XM format and sample code is below,
ForumPost Id=3
Endpoint=http://localhost/cs/api/forums.ashx/forums/5/threads/3/posts/3;
PostTracking
Great... at least i'm not completely nuts :)
Will follow the issue.
Thank you for confirming the problem.
Regards,
--KD
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2434579
Great... at least i'm not completely nuts :)
unfortunately, there is no workaround yet...
thanks for your report.
Best regards,
Thierry Boileau
Will follow the issue.
Thank you for confirming the problem.
Regards,
--KD
--
Anyone have any experience in scoping Spring beans using Session or
Singleton? I'm extending ServerResource and I am wondering how concurrency is
handled since none of the annotated methods are synchronized.
Resource instances are not intended to be thread-safe. You should use
prototype
Hi,
On Dec 29, 2009, at 1:22 PM, webp...@tigris.org wrote:
I'm new to Restlet and I'm getting 404 errors, so I'm guessing the
SpringServerServlet isn't being invoked in Tomcat 6. I'm trying out the
Spring extension in Restlet 2.0-M6. See attachment's web.xml and
spring-beans.xml. I
Hi,
On Dec 31, 2009, at 1:59 PM, gozfidan wrote:
Hi,
I am new to REST and trying to integrate with my Spring application. I have
done
some searching bu got stuck. I have changed the web.xml and add
RestletServlet-servlet.xml
but not sure how to implement Resource?
web.xml
Hello,
I see that the restlet framework in version 2.0m6 has certainly more and better
features than the old 1.1 version I am using. I wonder how difficult it is, to
migrate to restlet 2.0 as it seems some API changes have taken place?
best regards
Tobias
Hi Garry,
In the latest snapshots, we added support for provisional responses.
This is only supported by the new default HTTP connector, not the
extension connectors like Jetty, Netty, Simple, at least for now.
However, you should try those connectors if you haven't as they might
automatically
Hi Xavier,
Happy new year as well !
Good question again :) Beside HTTP chunked encoding, we don't support
other protocols, we this is an area of high interest for us in Restlet
2.1. We have related RFEs that you can track:
Add RTSP support
http://restlet.tigris.org/issues/show_bug.cgi?id=972
Hi Muthu,
Have a look at the Reference#encode() method.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Le 30/12/2009 09:43, Muthu Kumar a écrit :
I need to send an organization name
17 matches
Mail list logo