|
Subject:
|
can the webservice return a file?
|
|
Posted By:
|
albusr
|
Post Date:
|
12/19/2005 10:30:30 AM
|
i want to return an xml file in webmethod how can i do that? if anyone know please tell me. thanks
|
|
Reply By:
|
planoie
|
Reply Date:
|
12/19/2005 10:59:33 AM
|
You could return the XML as a string then make it back into a file or return the binary data of the file as a byte array. Also, I suppose you could load the XML into a XML document object, and make that the return type of the webservice method.
-Peter
|