如何在Delphi SOAP Web Service客户端中使用NTLM身份验证?

问题描述:

对于Microsoft CRM项目,我们需要在Delphi 2009 Web服务客户端中 NTLM身份验证

For a Microsoft CRM project, we need NTLM authentication in the Delphi 2009 web service client.

看起来像 Indy 10 Tiburon已经有实验NTLM支持

如何激活THTTPRio组件的NTLM身份验证,并使用目的地的登录信息(用户名,密码,域)网络服务服务器?

How can I activate the NTLM authentication for the THTTPRio component and use the logon information (user name, password, domain) of the destination web service server?

编辑:如果有一种方法使用其他身份验证方法比基本(例如 HTTP摘要访问身份验证

it would also be helpful if there is a way to use other authentication methods than 'Basic', for example HTTP Digest access authentication.

在THTTPRio组件的WebNode子组件的用户名属性中,使用域名后跟反斜杠和用户名:

In the user name property of the WebNode subcomponent of the THTTPRio component, use the domain name followed by a backslash and the user name:

'domain\username'

在设计时输入WSDL URL后,HTTPRIO组件将列出可用的端口和服务。

After entering the WSDL URL at designtime, the HTTPRIO component will list available port and services.