我尝试使用代理来消费单上的一个WCF web服务,但我得到以下异常:在Mono中使用WCF服务?
System.NotImplementedException:请求的功能未实现。 位于/private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/中的System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration(System.ServiceModel.Channels.Binding绑定)中[0x00000] System.ServiceModel.Configuration/WSHttpBindingElement.cs:101 at /Private/tmp/monobuild/build/BUILD/mono-2.10 System.ServiceModel.Configuration.StandardBindingElement.ApplyConfiguration(System.ServiceModel.Channels.Binding binding)[0x00030] ./mcs/class/System.ServiceModel/System.ServiceModel.Configuration/ StandardBindingElement.cs:143 at System.ServiceModel.Configuration.ConfigUtil.CreateBinding(System.String binding,System.String bindingConfiguration)[0x00053] in/private /tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/ConfigUtil.cs:102 at System.ServiceModel.ChannelFactory.ApplyCon System.ServiceModel中的/frivate/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:134 中的配置(System.String endpointConfig)[0x000d9] .ChannelFactory.InitializeEndpoint(System.String endpointConfigurationName,System.ServiceModel.EndpointAddress remoteAddress)在/private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel/中的[0x00024] ChannelFactory.cs:309
我不确定这是什么,但我认为它可能是Mono不支持WCF Web服务中的身份验证。
我需要能够以某种方式在Mono或Ubuntu上使用此WCF Web服务。我有什么选择?
是否还有别的东西可以用来作为SOAP服务访问它,并绕过使用.Net WCF代码?
如果您尝试使用无认证,它是否支持您的所有需求?我假设你知道Mono在使用WCF服务方面还不够成熟。 –
我没有这个网络服务。它由一家公司提供,所以我怀疑它可以在没有验证的情况下使用。有没有其他的方式来使用web服务?它基于SOAP,因此我可以将它用作SOAP Web服务? – startupsmith
您是否使用Mono有限?如果您熟悉Java等其他技术,可以帮助您很多。 –