Sharepoint 2007/CRM 4 SOAP集成问题

Sharepoint 2007/CRM 4 SOAP集成问题,soap,configuration,sharepoint-2007,web-config,dynamics-crm-4,Soap,Configuration,Sharepoint 2007,Web Config,Dynamics Crm 4,我们有一个Sharepoint 2007站点,它通过SOAP使用CRM 4实现一些自定义功能。不幸的是,该功能已停止工作,出现以下错误: 错误1: 服务器无法处理请求 位于System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息、WebResponse响应、Stream responseStream、Boolean asyncCall)的System.Web.Services.Pro

我们有一个Sharepoint 2007站点,它通过SOAP使用CRM 4实现一些自定义功能。不幸的是,该功能已停止工作,出现以下错误:

错误1:

服务器无法处理请求

位于System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息、WebResponse响应、Stream responseStream、Boolean asyncCall)的System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName、Object[]参数)位于Microsoft.Crm.SdkTypeProxy.CrmService.Execute(请求)在ECan.SharePoint.Web.Applications.MyECanUtilities.RefreshUserFromCrmQuery(CrmService、CrmService、QueryExpression查询、Boolean&loginFound、Boolean&HasPermissionApproveCompliance、Boolean&hasPermissionWaterMeterForms)

错误2:

服务器无法处理请求

在ECan.SharePoint.Web.Applications.MyECanUtilities.RefreshUserFromCrmQuery(CrmService CrmService、QueryExpression查询、Boolean&loginFound、Boolean&HasPermissionApproveCompliance、Boolean&hasPermissionWaterMeterForms)的ECan.SharePoint.Web.Applications.MyECanUtilities.RefreshUserFromCrm(字符串登录)

所有CRM集成代码都在Sharepoint之外的开发PC(不使用Sharepoint)上进行了测试,没有任何问题,因此我认为这一定是live站点的配置问题

Sharepoint正在Windows Server 2008标准上运行,以防相关

已将以下配置添加到网站的web.config文件的system.web中:

<webServices>
  <protocols>
    <add name="HttpSoap" />
    <add name="HttpGet" />
    <add name="HttpPost" />
  </protocols>
</webServices>

任何想法都将不胜感激

提前感谢,,
Gavin

RefreshUserFromCrmQuery做什么,您是否正在捕获SoapException并检查SoapException.Detail.OuterXml?您好,RefreshUserFromCrm通过SOAP查询CRM。谢谢SoapException.Detail.OuterXml提示-不幸的是,为了检查这个,我现在手头有点紧。。。该客户机基于新西兰基督城,Sharepoint开发/测试服务器目前位于封锁的CBD(由于上次地震),因此无法访问。实时服务器已获救,并已启动并运行。以前代码是有效的,所以我认为这一定是某个地方的配置问题。恐怕不是调查的理想选择。你也可以激活Dynamics CRM的跟踪。看看干杯,克勒-这是一个方便的事情知道!我怀疑这更像是Sharepoint的问题,尽管在我的PC上拼凑一些代码时,我能够使用类似的逻辑连接而没有问题。如果是服务器配置问题,而不是Sharepoint问题,我可能会编写一个测试应用程序并将其放到服务器上,希望能够捕捉到更详细的错误。