Hi,
I've written the client for my web serv ice program. This client is also in
Java.
Whenever I invoke the client through my shell script, it gives me the
following message:
[code]
[mybox:/var/]$ ./validate.sh
Jun 24, 2009 9:49:55 PM com.noelios.restlet.http.StreamClientHelper start
IN
Hi Thierry,
Ok. I kinda agree with you regarding adding this condition of mediatype.
But my next question is which mediatype should be used. I know we can use
either "text/xml" or "application/x-www-form-urlencoded".
I'll really appreciate if you can provide everyone details about whi
Hi,
I'm using Restle 1.1.4. In acceptRepresentation method, I would like to know
when do we need to add the below condition?
if (entity.getMediaType().equals(MediaType.APPLICATION_WWW_FORM, true)) {
Basically, I know that if we add this condition, then the client needs to set
the content typ
Hi,
I'm fetchin the input from form in accpetRepresent method & then processing
the details from database & then sending the repsonse back in XML. This is the
POST implementation.
Now I want to do the same stuff for GET operation as well. How can I do it
without replicating this code whi
Hi,
My form has 2 fields which I'm submitting through POST request, say first
name & last name.
Now, as a reposnse back, I need to get the XML response in some format say
101 niles rd
589-423-4344
How do I get this XML? I mean where to prepare this XML? I'll be fetching input
p
Hi,
I'm new to Restlet & I was going through tutorials & found that POST uses
"acceptRepresentation" method, PUT uses "storerepresentation", etc.
But then at one place in the examples folder, I found that the code is
having allowPost & allowPut methods & it does not have any such
accep
Hi Jerome,
Thanks for the reply. I looked at the below URL already but still I'm not
clear & couldn't find it. Can you please be more specific & tell me which Java
file & which method are you referring to exactly?
What I'm really looking for is something like the below request XML would be
Hi,
I'm trying to use java restlet. I'll be getting the input in the XML format
& I need to store the data in database & return back the response back in XML
format.
Does any one have sample code which accepts input in XML & then stores in DB
& returns response in XML?
How to fetch t
8 matches
Mail list logo