Hi
I have an requirement to develop a web service which will send data from
files, i was thinking of creating a web service which will take input as
file name, and then read data from this file, convert it into XML and send
back this XML document as response.

But i simply cannot send Document object as response as it wont work because
Document object does not have public default constructor

So what are the alternatives,

1, Convert XML to string object and send this string as response
2, Send XML file as attachment

Does anyone know of any other way?


Ash

Reply via email to