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

推荐订阅源

G
Google Developers Blog
D
Docker
Stack Overflow Blog
Stack Overflow Blog
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
H
Help Net Security
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
博客园 - 司徒正美
C
Check Point Blog
B
Blog
Y
Y Combinator Blog
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
F
Fortinet All Blogs
美团技术团队
D
DataBreaches.Net

博客园 - 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>