首页 新闻 会员 周边

Windows Mobile项目,用WSE3.0的MTOM传输文件

0
悬赏园豆:100 [已关闭问题]

你好,我现在正在做一个Windows Mobile项目,用WSE3.0的MTOM传输图片,开发环境是VS2005,我在Mobile客户端配置了WSE3.0,然后添加Web引用,但是出现错误:“System.Web.Services.Protocols.SoapHttpClientProtocol”在未被引用的程序集中定义。必须添加对程序集“System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”的引用
我已经引用System.Web.Services.Protocoal;
这是在配置WSE3.0之后自动生成的一个app.config文件
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
<microsoft.web.services3>
<messaging>
<mtom clientMode="On" />
</messaging>
</microsoft.web.services3>
</configuration>
在添加Web引用后没有变化,在如果用Windows应用程序做客户端,它会在app.config文件中添加一些内容。
为什么?

老梅的主页 老梅 | 初学一级 | 园豆:100
提问于:2009-08-14 09:02
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册