配置Exchange 2007以支持Web服务 [英] Configuring Exchange 2007 to Support Web Services

查看:134
本文介绍了配置Exchange 2007以支持Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前言:我是Web服务开发的新手,并且没有使用Exchange服务器的经验,所以如果您与经验丰富的交换Web服务开发人员交谈,请不要犹豫回答您可能排除的详细程度。

Preface: I'm new to web service development and have no experience with exchange server so don't hesitate to respond with a level of detail you might exclude were you talking with an experienced exchange web services developer.

问题:我希望能够通过网络服务拨打交换操作。  我已经运行了Exchange服务器,可以通过OWA访问访问我的一个测试帐户。  每当我通过网络服务发送请求时,都会超时。 我可以
看到我的请求是由于IIS日志中的更新而到达服务器所以我相信我的端点是正确定义的。 这让我相信这是一个访问问题。

Issue: I'd like to be able to call exchange operations via web services.  I have exchange 2007 server running and can access one of my test accounts via OWA access.  Whenever I send requests via web services, it times out.  I can see that my request is reaching the server due to the updates in the IIS log so i beleive my endpoints are defined correctly.  This leads me to believe it is an access issue.

IIS日志行 -

IIS Log lines -

(2010-05-04 15:59:44 W3SVC1 172.20 .16.27 POST /EWS/Exchange.asmx - 80 - 172.20.20.151 Axis2C / 1.5.0 401 2 2148074254

2010-05-04 15:59:44 W3SVC1 172.20.16.27 POST / EWS / Exchange .asmx - 80 - 172.20.20.151 Axis2C / 1.5.0 401 1 0) 

(2010-05-04 15:59:44 W3SVC1 172.20.16.27 POST /EWS/Exchange.asmx - 80 - 172.20.20.151 Axis2C/1.5.0 401 2 2148074254
2010-05-04 15:59:44 W3SVC1 172.20.16.27 POST /EWS/Exchange.asmx - 80 - 172.20.20.151 Axis2C/1.5.0 401 1 0) 

问题:必须配置哪些客户端访问权限才能允许交换Web服务消费? 我必须"为自动发现服务配置Exchange服务"并首先启用Outlook Anywhere(不熟悉它们)? 
或者是否有特定的"Exchange Web服务权限"。可以配置为允许我使用我的测试应用程序使用服务吗?

Question: What client access permissions must be configured to allow exchange web service consumption?  Do I have to "Configure Exchange Services for the Autodiscover Service" and enable Outlook Anywhere first (not familiar with either)?  Or are there specific "Exchange web services permissions" that can be configured to allow me to consume the services with my test application?

我的任何查询帮助都将受到赞赏。

Any assistance with my queries would be appreciated.

推荐答案

日志读取EWS返回401 HTTP响应,表示身份验证问题。所以你的应用程序并不是真正针对EWS,并且你得到的超时可能是副作用。

The log reads that EWS returned a 401 HTTP response, which denotes an authentication issue. So your application is not authentitcating against EWS, and the timeout you are getting might be a side effect of that.

我不知道Axis生成的代理类的内部,但我怀疑Axis不支持NTLM v2身份验证,这是EWS的默认身份验证模型。您可以为EWS启用基本身份验证,这可能会解决您的问题。

I do not know the internals of Axis generated proxy classes, but I suspect Axis does not support NTLM v2 authentication, which is the default authentication model for EWS. You can enable Basic authentication for EWS, this might solve your problem.


这篇关于配置Exchange 2007以支持Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆