Serialize a File for Webservice
Posted: Wed Jul 02, 2008 3:43 am
I have written a client in c# that communicates with my webservice that I have written in PHP accessing mySQL. I am using SOAP to communicate. Everything works great... but now I would like to take a file on the server, serialize it and send it back to my client embedded in the XML.
I have had no luck finding any information on serializing a file. From what I have read you cannot serialize a resource. There must be a way to read out a file and serialize the bitstream... any help, ideas or suggestions regarding this would be greatly appreciated.
I have had no luck finding any information on serializing a file. From what I have read you cannot serialize a resource. There must be a way to read out a file and serialize the bitstream... any help, ideas or suggestions regarding this would be greatly appreciated.