【问题标题】:how to connect microsoft crm with delphi?如何将微软CRM与delphi连接?
【发布时间】:2010-06-23 04:09:08
【问题描述】:

我想用 delphi 7 或 2007 连接到 microsoft crm

wsdl = http://crm/mscrmservices/2007/crmservice.asmx

我的代码

  token := CrmAuthenticationToken.Create;
  token.OrganizationName := 'test';
  token.AuthenticationType := 0;
  service := GetCrmServiceSoap();
  customer := contact3.Create;
  customer.salutation := 'test';
  customer.lastname := 'test';
  customer.jobtitle := 'test';
  customer.telephone1 := 'test';
  customer.emailaddress1 := 'test';
  gid := service.Create(customer);
  showmessage(gid);

该服务询问用户名和密码,我正在输入我的域用户名和密码但不工作并且服务询问agian? 当我取消用户名和密码对话框时,我收到此错误消息“401 Unauthorized” 请帮帮我

【问题讨论】:

    标签: .net web-services delphi


    【解决方案1】:

    使用 'domain\username' 作为 HTTPRio 组件中的用户名属性。

    见:How can I use NTLM authentication in a Delphi SOAP Web Service client?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-25
      • 1970-01-01
      相关资源
      最近更新 更多