Difference between SoapFormatter and Xml Formatter?

ajeeshco

Well-known member
Joined
Sep 19, 2006
Messages
257
Location
Cochin, India
Programming Experience
3-5
Hi,
I came to know that object graph can be serialized using BinaryFormatter, SoapFormatter and XmlFormatter. Since both SoapFormatter and Xml Formatter serialize object graph to Xml Format, what's the key difference between the two. Also I would like to know the specific use of SoapFormatter and Xml Formatter. Thanks in Advance.
 
usually xml serializer is used with webservices...where as soap formatter /binary formatter is used in remoting..
that means
xml serializer is more adequate for cross platform work...
 
Backwards

SOAP is a WC3 Standard for web services and is a better choice for x-platform integration. The XML formatter is more compact but is MS only.
 
Back
Top