简体   繁体   中英

Why web services in .NET use XML Serializer rather then SOAP Serializer?

我是Web服务的新手,我找不到答案。为什么.NET中的Web服务使用XML序列化来生成SOAP消息,而不是使用SOAP序列化并从中受益,即能够序列化对象图和私有类成员。

xml序列化是跨平台的,这意味着它的平台是独立的,因此可以一次序列化然后以Web服务的形式在任何地方使用它,因为Web服务返回了xml数据集,因此我们可以将此结果集独立地合并到任何地方

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM