如何封装一个Soap消息包,为什么没有SoapFormatter???

北极猩猩 2002-10-30 02:00:42
如何将一个对象封装成一个Soap包?
我查到了可以用SoapFormatter,在System.Runtime.Serialization.Formatters.Soap名称空间中,但是为什么我在Formatter中只找到了Binary没有Soap?
...全文
60 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
saucer 2002-10-30
  • 打赏
  • 举报
回复
in the Solution Explorer, add a reference to
System.Runtime.Serialization.Formatters.Soap.dll
北极猩猩 2002-10-30
  • 打赏
  • 举报
回复
什么添加引用啊。
我再using System.Runtime.Serialization.Formatters.动态提示中就没有Soap。我自己写进去之后,编译时他说找不到这个包。
2楼四个星的大哥,为什么啊?
saucer 2002-10-30
  • 打赏
  • 举报
回复
what do you mean? isn't
System.Runtime.Serialization.Formatters.Soap.SoapFormatter what you want?

see an example on how to use SoapFormatter:
Introduction to Serialization
http://www.csharpfriends.com/Members/Main/Tutorials/get_tutorial.aspx?tutID=94
idiotzeng 2002-10-30
  • 打赏
  • 举报
回复
添加引用
北极猩猩 2002-10-30
  • 打赏
  • 举报
回复
我知道,可是我再写程序时发现SoapFormatter,在System.Runtime.Serialization.Formatters中并没有Soap这个包,这是为什么啊!?

110,570

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧