Hi I try to run my project on Mono 2.10.9 I use WCF channels ( channelFactory.CreateChannel()) for communication and I need to load "known types"
First I tried to add <system.runtime.serialization> to app.confog, but got following error System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.runtime.serialization> Next I tried to add "known types" at run time by using ServiceKnownType and alternatively by operation.KnownTypes.Add in both cases I got error: System.NotImplementedException: The requested feature is not implemented. at System.ServiceModel.Dispatcher.DataContractSerializerServiceBehavior.System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Channels.BindingParameterCollection parameters) [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory.CreateBindingParameters () [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory.CreateFactory () [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory.OnOpening () [0x00000] in <filename unknown>:0 at System.ServiceModel.Channels.CommunicationObject.ProcessOpening () [0x00000] in <filename unknown>:0 at System.ServiceModel.Channels.CommunicationObject.Open (TimeSpan timeout) [0x00000] in <filename unknown>:0 at System.ServiceModel.Channels.CommunicationObject.Open () [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory.EnsureOpened () [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory`1[VoyantHealth.Common.Messages.IMessagingService].CreateChannel (System.ServiceModel.EndpointAddress address, System.Uri via) [0x00000] in <filename unknown>:0 at System.ServiceModel.ChannelFactory`1[VoyantHealth.Common.Messages.IMessagingService].CreateChannel (System.ServiceModel.EndpointAddress address) [0x00000] in <filename unknown>:0 Does any one know how to add "known types" that it should work on Mono? Thank you -- View this message in context: http://mono.1490590.n4.nabble.com/WCF-knoen-types-tp4661213.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
