0

I am trying to consume a WCF Webservice on Mono using the proxy but I am getting the following exception:

System.NotImplementedException: The requested feature is not implemented. at System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration (System.ServiceModel.Channels.Binding binding) [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/WSHttpBindingElement.cs:101 at System.ServiceModel.Configuration.StandardBindingElement.ApplyConfiguration (System.ServiceModel.Channels.Binding binding) [0x00030] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/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.ApplyConfiguration (System.String endpointConfig) [0x000d9] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:134 at System.ServiceModel.ChannelFactory.InitializeEndpoint (System.String endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) [0x00024] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:309

I am not sure exactly what this is but I take it that it probably is to do with Mono not supporting authentication in WCF Webservices.

I need to be able to consume this WCF webservice on Mono or Ubuntu somehow. What are my options?

Is there something else that I can use to access it as a SOAP service and bypass using the .Net WCF code?

4

1 回答 1

0

这是我根据您提供的信息的回答。只要 WCF 服务尊重已建立的行业标准 WS-*,您就可以将其用作 SOAP 服务。我不确定 Mono 是如何演变的,以便为您提供一个现成的运行客户端,但根据您的问题,似乎缺少功能。在那种情况下,我认为您将不得不自己做一些管道工作。

于 2012-07-02T07:33:15.853 回答