简体   繁体   English

WCF服务和Biztalk服务配置错误

[英]WCF service and Biztalk service configuration error

I have a WCF web service which calls a biztalk service( ie Orchestration). 我有一个WCF Web服务,该服务称为biztalk服务(即Orchestration)。 When i do the unit test i am getting following error: 当我进行单元测试时,出现以下错误:

Test method Goudse.BcVerzekering.Bts2006.InkCol.Business.UnitTests.UnitTest1.VerzekeringFacade_Goed threw exception: System.ServiceModel.FaultException: The binding at system.serviceModel/bindings/wsHttpBinding does not have a configured binding named 'WSHttpBinding_ITwoWayAsync'. 测试方法Goudse.BcVerzekering.Bts2006.InkCol.Business.UnitTests.UnitTest1.VerzekeringFacade_Goed引发了异常:System.ServiceModel.FaultException:system.serviceModel / bindings / wsHttpBinding处的绑定没有名为“ WSHttpBinding_ITwoWayAsync”的已配置绑定。 This is an invalid value for bindingConfiguration. 这是bindingConfiguration的无效值。 (C:\\Inetpub\\DeGoudse.MKB\\VerzekeringFacade\\web.config line 50). (C:\\ Inetpub \\ DeGoudse.MKB \\ VerzekeringFacade \\ web.config第50行)。

Its pointing to web.config, but which is generated by the system itself... 它指向web.config,但它是由系统本身生成的。

Any insight will be very helpful? 有什么见解会很有帮助吗?

Have you looked here ? 你看过这里吗? It should be added to the app.config to work properly. 应该将其添加到app.config中才能正常工作。

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

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