adamqplchwxaozxhl
New Member
I have to implement a WebServer using SOAP which sends a XML file to the client (the XML file is generated dynamically). I have been googleing and I have seen different alternatives but I do not know with one is the best alternative and consumes less bandwidth (less bytes transmitted).
- To send the XML file as a string (defined in the WSDL).
- To Zip the XML and send it as a byte[] (defined in the WSDL)
- To serialize the XML by using the binaryFormater and send it as base64 (defined in the WSDL).
- To include it as CDATA (I think that this only works if the webserver receives the XML but it does not work if the XML is the output of the WS).