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

推荐订阅源

GbyAI
GbyAI
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
D
Docker
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
美团技术团队
V
V2EX
Last Week in AI
Last Week in AI
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
B
Blog RSS Feed
博客园_首页
B
Blog
博客园 - 叶小钗
I
InfoQ
WordPress大学
WordPress大学
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
博客园 - 司徒正美
Latest news
Latest news
W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CERT Recently Published Vulnerability Notes
C
CXSECURITY Database RSS Feed - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
N
News and Events Feed by Topic
S
Secure Thoughts
The Hacker News
The Hacker News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News

博客园 - yiyisawa

岁月如梭 将wcf 以webservice的方式调用 wcf client与webservice通信(-)只修改配置文件而改变服务端 WPF界面 -----类似于visual studio中浮动窗体风格的界面(以下地址提供源码下载) BackgroundWorker学习一 vs 工具技巧手册 silverlight发布注意事项 silverlight beta2初步研究结论 Visual Studio 2005 Team Foundation Server (TFS)单服务器安装记 从今天起 乱弹 盲山有感 路边见闻 月夜奔跑 无题 童年拾忆 梦想高歌 一个用Regex的完成sql语句中字段替换的demo 《勇敢抉择》摘录一
wcf client与webservice通信备注
yiyisawa · 2009-01-13 · via 博客园 - yiyisawa

http://www.cnblogs.com/yiyisawa/archive/2008/12/16/1356191.html wcf client与webservice通信(-)只修改配置文件而改变服务端 一文中如果要将wcf service或web service host 到iis中去的话(之前没有host 到iis中去,只是临时运行service,然后取临时服务地址),有几点需要注意的地方:

一.当共用一个wcf client 调用wcf service or web service时,会在wcf client 调用web service会出现issue:

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,Kerberos,NTLM'.

解决方案:

在wcf client的配置文件的绑定中安全设置加上以下设置,即可成功调用。详情参见:

http://www.kodyaz.com/blogs/software_development_blog/archive/2008/02/25/849.aspx

Code

 二.在iis中浏览webservice时出现大红色的Service Unavailable。

解决方案:

Internet Information Services(iis) Manager--->web sites ---> 具体项目的虚拟目录-->右键属性--->permissions:

1.添加以下权限:

iis_WPG

NETWORK SERVICE

Users(Yiyisawa\Users)这个要根据域名来添加,(貌似)

Internet Information Services(iis) Manager--->web sites ---> 具体项目的虚拟目录-->右键属性--->properties-->Directory Security--->Authentication and access control-->edit--->选中Enable anonynous access 即可。

另:因为要HOST到IIS中去,期间iis出故障,重装IIS,重装过程中出现需要I386文件:

插入一张系统盘,引导到盘符下即可找到。