问题描述:
c# 引用java webservice ,在执行调用过程中:
RSService.WebSoapSearchClient service = new RSService.WebSoapSearchClient();
var ss = service.getSoapAsync(checkxml);
调用时,提示: The operation 'getSoapAsync' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters.
运行环境:win2008 R2 IIS7 .net4.0
http://forums.asp.net/t/1970958.aspx?System+ServiceModel+Channels+Message+error
http://www.codeproject.com/Articles/199543/WCF-Service-operations-can-t-be-loaded-due-to-mixi
已经解决,安装了.NET 4.5 ,开发环境有4.5,运行环境没有。导致的问题。