我使用的是Microsoft Visual Studio Pro 15.4版以及Xamarin版本4.7.10.22和Xamarin Android SDK版本8.0.0.33。
当我尝试使用Web引用时,我添加到我的Web服务并调用我的一种服务方法,我收到以下错误:
System.Net.WebException: Error: NameResolutionFailure at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke
当我使用Silverlight 5.0 SDK的slsvcutil.exe完成生成合同文件的过程时,出现以下错误:
System.InvalidOperationException: Operation 'IsReadyAsync' contains a message
with parameters. Strongly-typed or untyped message can be paired only with
strongly -typed, untyped or void message.
at System.ServiceModel.Dispatcher.OperationFormatter.Validate(
System.ServiceModel.Description.OperationDescription od, System.Boolean isRpc,
System.Boolean isEncoded)
我已经看过各种论坛提到的消费WCF服务,而且似乎其他人都有这种困难,而且由于这些信息大部分都是过时的,我要求任何指导和帮助。
谢谢,
鲍勃