WCF generated proxy throws InvalidOperationException due to multiple types with same name in WSDL
问题 I'm using Visual Studio 2013 to generate a WCF service proxy from this WSDL file. However, as soon as I try to call the setSalesItemsV3 method, WCF throws an InvalidOperationException from deep in System.Xml.dll . This sample project demonstrates the problem: https://github.com/jennings/WsdlDuplicateNameProblem This is the inner exception: Message: The top XML element 'start' from namespace '' references distinct types WsdlDuplicateName.SalesItemService.hsSimpleDate and System.DateTime. Use