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 sample applications 
(http://www.restlet.org/documentation/2.0/). It will help you to see how 
to expose your own set of resources or developping a client application 
using Restlet.

Best regards,
Thierry Boileau

> 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>
>       <HasRead>false</HasRead>
>       <IsTracked>false</IsTracked>
>    </PostTracking>
>    <Body><p>sample forum post content</p></Body>
>    <SiteUrl>http://localhost/cs/forums/p/3/3.aspx#3</SiteUrl>
>    <Subject>Sample Forum Post</Subject>
>    <Date>2008-01-15T05:37:58.793</Date>
>    <Keywords>
>       <Keyword>Sample Forum Posts</Keyword>
>    </Keywords>
>    <RenderedBody>
>      <br /><p>sample forum post content</p><br />
>    </RenderedBody>
> </ForumPost>
>
> How to pass above XML request value?
>
> Thanks in advance.
>
> Regards,
> Murugesan.
>
>

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

Reply via email to