空字符串''不是有效的本地名称。 - Xamarin表示PCL SOAP请求调用

时间:2017-09-26 16:52:48

标签: c# android xamarin soap xamarin.forms

我正在尝试发出SOAP请求而我正在捕获异常,您可以在下面看到它。 (我不会消耗WCF)

也许有人有类似的问题,知道如何解决它?提前谢谢。

{System.ArgumentException:空字符串''不是有效的本地名称。   at(包装器托管到本机)System.Object:__ icall_wrapper_mono_delegate_end_invoke(object,intptr)   at(wrapper delegate-end-invoke):end_invoke_object__this ___ object []&amp; _IAsyncResult(object []&amp;,System.IAsyncResult)   在System.ServiceModel.MonoInternal.ClientRuntimeChannel.EndProcess(System.Reflection.MethodBase方法,System.String operationName,System.Object []参数,System.IAsyncResult结果)[0x0001f] in&lt; 475dec2c1fe44b95bbfbd21b550b63f8&gt;:0   在System.ServiceModel.ClientBase 1+ChannelBase 1 [TChannel,T] .EndInvoke(System.String methodName,System.Object [] args,System.IAsyncResult result)[0x00045] in&lt; 475dec2c1fe44b95bbfbd21b550b63f8&gt;:0   at App3.AscoTms.imcwpPortTypeClient + imcwpPortTypeClientChannel.EndLogin(System.IAsyncResult result)[0x00008]在C:\ Users \ georgij.nebudrov \ source \ repos \ App3 \ App3 \ App3 \ Connected Services \ AscoTms \ Reference.cs:3833   在C:\ Users \ georgij.nebudrov \ source \ repos \ App3 \ App3 \ App3 \ Connected Services \ AscoTms \ Reference中的App3.AscoTms.imcwpPortTypeClient.App3.AscoTms.imcwpPortType.EndLogin(System.IAsyncResult result)[0x00001]。 CS:3088   at App3.AscoTms.imcwpPortTypeClient.EndLogin(System.IAsyncResult result)[0x00001]在C:\ Users \ georgij.nebudrov \ source \ repos \ App3 \ App3 \ App3 \ Connected Services \ AscoTms \ Reference.cs:3093   at App3.AscoTms.imcwpPortTypeClient.OnEndLogin(System.IAsyncResult result)[0x00001]在C:\ Users \ georgij.nebudrov \ source \ repos \ App3 \ App3 \ App3 \ Connected Services \ AscoTms \ Reference.cs:3103   在System.ServiceModel.ClientBase 1+<>c__DisplayClass39_0[TChannel].<InvokeAsync>b__0 (System.IAsyncResult ar) [0x00006] in <475dec2c1fe44b95bbfbd21b550b63f8>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Runtime.CompilerServices.TaskAwaiter 1 [TResult] .GetResult()[0x00000] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   在App3.MainPage + d__2.MoveNext()[0x00081]在C:\ Users \ georgij.nebudrov \ source \ repos \ App3 \ App3 \ App3 \ MainPage.xaml.cs:47}

0 个答案:

没有答案