Hi Antonio,

You really can use anything that can do an HTTP request - you could use
cURL, you could write something in C++ using boost asio, perl/python have
standard HTTP libraries, and there are many more.  I think the only reason
you would need to worry about the Representation classes themselves is if
you used the Restlet Client.  Should you use a different client tool, you'll
just get back output, of the type that your client requests.  Interpreting
it is pretty much dependent on the client API.

I don't know specifically about .net or C#, but a quick search shows a lot
of matches for "C# HTTP" that could help you with that specifically.  One
page that looks pretty helpful is
http://developer.yahoo.com/dotnet/howto-rest_cs.html .  In general, just
make an HTTP request to a REST resource, and interpret your results in
accordance with the Accept type you are requesting.

Steve

On Tue, Dec 16, 2008 at 10:33 AM, antoniojg <[email protected]> wrote:

> Hello I would like to know  if it's possible to connect to a Restlet web
> resource 8deployed on Tomcat or an other web server) through a client that
> is written in an other language.
> To better explain, let's suppose that we have defined some restlet
> resources
> which return some type of representation, let's say DomRepresentattion or
> ObjectRepresentation.
> Is it possible to write a .net or C# client that connects to the restlet
> web
> server and can understand the result returned from the server?
> Since they connect through http and speak html, it should be feasible even
> if the client can not understand reslet based output representations like
> DOMRepresentation or what ever else.
> Am I wrong?
> Is there any example that may let me better understand this kind of
> integration?
> Thanks in advance.
> Antonio.
> --
> View this message in context:
> http://n2.nabble.com/accessing-restlet-web-%28deployed-on-tomcat-for-instance%29-resources-from-a-not-java-client%2C-is-it-possible--tp1663393p1663393.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=985042
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=985107

Reply via email to