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

Go to topic 37692

Return to index page 414
Return to index page 413
Return to index page 412
Return to index page 411
Return to index page 410
Return to index page 409
Return to index page 408
Return to index page 407
Return to index page 406
Return to index page 405