我创建了一个非常简单的wcf服务,并尝试在Agilepoint nx中使用它,但它给出了这个错误:
Exception: AgilePoint.Workflow.DataSources.DynamicProxyException: There was an error in compiling the proxy code.
at AgilePoint.Workflow.DataSources.DataSourceDescriptorWCF.OpenWsdl(String urlStr, String domainName, String userName, String userPassword, Boolean isGenerateMessageContract, DynamicProxyFactory& _factory)
at AgilePoint.Workflow.DataSources.DataSourceDescriptorWCF.GetWCFBindingsAndEndpoints(String URL, Boolean generateMessageContract, String CustomDomainName, String CustomUserName, String CustomUserPassword)
at r.GetWCFBindingsAndEndpoints(String wcfServiceUrl, Boolean generateMsgContract, String credentials)
Compilation Errors:
error CS0009: Metadata file 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll' could not be opened -- 'An attempt was made to load a program with an incorrect format. '有人知道是什么原因导致这个错误吗?
我已经将应用程序池中的标识更改为: Localsystem,但它不起作用。
发布于 2016-11-25 21:19:09
使用wcftestclient或SoapUI测试您的web服务。看起来你应该在应用程序池设置中启用32位应用程序(如果你在IIS中托管服务)。
https://stackoverflow.com/questions/40805166
复制相似问题