惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Last Week in AI
Last Week in AI
月光博客
月光博客
D
DataBreaches.Net
WordPress大学
WordPress大学
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
Recent Announcements
Recent Announcements
宝玉的分享
宝玉的分享
MyScale Blog
MyScale Blog
C
Check Point Blog
F
Fortinet All Blogs
B
Blog
小众软件
小众软件
Vercel News
Vercel News
罗磊的独立博客
有赞技术团队
有赞技术团队

博客园 - zhangh

[转]铁路订票网站个人的设计浅见 新写了一个Web即时通程序,基于HTTP长连接的服务器推技术。 .NET Framework 3.5 SP1安装时下载文件问题及精简方法2(转) [转] javascript基础知识大集锦(2) 迪士尼近期将拓展中国三线城市的市场 迪士尼礼品批发网 Web Service WSE 3.0 creation time in the timestamp cannot be in the future 局域网内机器访问服务器数据库连接,访问Web Service需要密码 - zhangh - 博客园 ubuntu下配置eclipse3.3 ubuntu下配置tomcat Ubuntu下配置samba实现文件夹共享 Open Source URL Rewriter for .NET / IIS / ASP.NET 要实现动态加载JS脚本有4种方法 - zhangh - 博客园 使用XML文件来动态配置ASP.NET MVC的Route规则 - zhangh - 博客园 window.opener - zhangh - 博客园 在WinForm中使用Web Services 来实现 软件 自动升级( Auto Update ) (C#) 多线程断点续传研究之二 多线程断点续传研究之一 winform登录窗口的正确操作办法
Web Service "Unsupported media type error"
zhangh · 2009-11-09 · via 博客园 - zhangh

未命名

Try the instruction below to solve the error
1)verify the MTOMWse class is derived from Microsoft.Web.Services3.WebServicesClientProtocol in your mtom web refference proxy file --> 'reffrences.cs'. You will need to click "show all" button in solution explorer to view 'reffrences.cs'
2)make sure that mtom serverMode arrtibute is set to optional in your web service web.config file like follows..
<microsoft.web.services3>
<messaging>
<mtom serverMode="optional"/>
</messaging>
</microsoft.web.services3>