How to export an xml file from a REST service to client(web
Hi,
Iam trying to create a REST service which takes the filepath and work item id from the client(web ui client). My REST service should be able to write all the workitem related info to an xml/text file located on the client m/c at the specified filepath.
Iam able to get all the wi info and Iam writing it to a String. But Iam not getting how to set the response of the REST service to send the xml content/xml file which can be downloaded at the client side.
Can, you please suggest how o go ahead with this. Request you to please give me some pointer to any similar RTC example which I can look into.
Thanks
Iam trying to create a REST service which takes the filepath and work item id from the client(web ui client). My REST service should be able to write all the workitem related info to an xml/text file located on the client m/c at the specified filepath.
Iam able to get all the wi info and Iam writing it to a String. But Iam not getting how to set the response of the REST service to send the xml content/xml file which can be downloaded at the client side.
Can, you please suggest how o go ahead with this. Request you to please give me some pointer to any similar RTC example which I can look into.
Thanks