Re: Send and Parse Attachment using Restlet

2008-04-30 Thread Surjendu
In that case how do someone using my web service can send me a request with an attachment. How to solve this use-case?

Re: Send and Parse Attachment using Restlet

2008-04-30 Thread Surjendu
Thanks Jerome What about the server code? Will Restlet be able to handle multi-part? If I use a http-client library to post the multi-part form request will the server code of Restlet( handlePost() method in Resource) be able to parse the request. If not how to achieve the same. What would

RE: Send and Parse Attachment using Restlet

2008-04-30 Thread Jerome Louvel
Surjendu Envoyé : mercredi 30 avril 2008 08:32 À : discuss@restlet.tigris.org Objet : Re: Send and Parse Attachment using Restlet Thanks Jerome What about the server code? Will Restlet be able to handle multi-part? If I use a http-client library to post the multi-part form request will the server

Send and Parse Attachment using Restlet

2008-04-29 Thread Surjendu
Please help me regarding sending a file as an attachment using Restlet. I have written my client code. Please let me know if it's correct. Client: FileRepresentation rep = new FileRepresentation(c:\\input.text,MediaType.TEXT_ALL, 0); Client client = new Client(Protocol.HTTP); Response response

RE: Send and Parse Attachment using Restlet

2008-04-29 Thread Mitch Stewart
: news [mailto:[EMAIL PROTECTED] On Behalf Of Surjendu Sent: Wednesday, April 30, 2008 12:53 AM To: discuss@restlet.tigris.org Subject: Send and Parse Attachment using Restlet Please help me regarding sending a file as an attachment using Restlet. I have written my client code. Please let