简体   繁体   English

从实例生成CRM4 WSDL

[英]Generating CRM4 WSDL from instance

How can I go about obtaining the latest WSDL files from a CRM4 deployment? 如何从CRM4部署中获取最新的WSDL文件?

Currently we have a deployment in place on a hosted solution where there are two WSDL files available via Settings > Customization > Download Web Service Description Files 当前,我们在托管解决方案上进行了部署,其中有两个WSDL文件可通过“设置”>“自定义”>“下载Web服务描述文件”获得

From this location there are two files available: - CrmService.asmx - MetadataService.asmx 从该位置有两个文件可用:-CrmService.asmx-MetadataService.asmx

If I attempt to click on these files then it opens web URLs as follows: - http://be-crm4.domain.co.uk/MSCrmServices/2007/CrmServiceWsdl.aspx - http://be-crm4.domain.co.uk/MSCrmServices/2007/MetadataService.asmx?WSDL 如果我尝试单击这些文件,则会按如下所示打开Web URL: -http : //be-crm4.domain.co.uk/MSCrmServices/2007/CrmServiceWsdl.aspx-http : //be-crm4.domain.co .uk / MSCrmServices / 2007 / MetadataService.asmx?WSDL

However upon looking at the visual studio C# coded connector tool that interacts with the current CRM instance that a previous developer has done I can see that he has reference to 3 WSDL. 但是,在查看与以前的开发人员已经完成的与当前CRM实例交互的Visual Studio C#编码连接器工具后,我可以看到他引用了3 WSDL。

  • CrmService CrmService
  • CRMMetaService CRMMetaService
  • CrmDiscoveryService CrmDiscoveryService

The Discovery service URL is as follows: - http://be-sql-live01/MSCRMServices/2007/AD/CrmDiscoveryService.asmx 发现服务URL如下: -http://be-sql-live01/MSCRMServices/2007/AD/CrmDiscoveryService.asmx

We are currently in the process of moving our server to another server and I am testing the webservice component of this but as there have been changes I want to regenerate the WSDL files. 目前,我们正在将服务器移至另一台服务器,并且我正在测试其中的Web服务组件,但是由于发生了更改,我想重新生成WSDL文件。

How can I save the wsdl files from the browser? 如何从浏览器保存wsdl文件? How can I find the discovery URL of the webservices as only 2 of these seem to be appearing 我如何找到Web服务的发现URL,因为似乎只有其中两个

I know it's a bit late but maybe someone will find this helpfull. 我知道已经有点晚了,但也许有人会发现这个帮助。 On on-permise instane using AD the address for discovery service is: 在使用AD的即时实例中,发现服务的地址为:

http[s]://<hostname>[:port]/mscrmservices/2007/AD/CrmDiscoveryService.asmx

On IFD instance: 在IFD实例上:

http[s]://<hostname>[:port]/mscrmservices/2007/IFD/CrmDiscoveryService.asmx

You can get WSDL by adding ?WSDL on the end of webservice address for example: 您可以通过在Web服务地址的末尾添加?WSDL来获得WSDL,例如:

http[s]://<hostname>[:port]/mscrmservices/2007/AD/CrmDiscoveryService.asmx?WSDL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM