[Mono-list] Unable to start WCF host with 1 service endpoint

mconway mconway at gcpud.org
Wed Feb 20 00:34:56 UTC 2013


I am evaluating some uses of Mono for a project that we are currently working
on in my organization, and I have run into a stumbling block that I am
hoping may just be user error on my part.

I created a Console service host for a small (2 method) WCF service. When I
attempt to start this service, I get the following error on both Mono 2.10.9
and 3.0.3:

System.ServiceModel.Channels.BindingElementCollection doesn't implement
interface
System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.BindingElement>
Stacktrace:

  at <unknown> <0xffffffff>
  at System.ServiceModel.Channels.BindingElementCollection..ctor
(System.Collections.Generic.IEnumerable`1<System.ServiceModel.Channels.BindingElement>)
[0x00006] in
/home/mconway/mono-3.0.3/mcs/class/System.ServiceModel/System.ServiceModel.Channels/BindingElementCollection.cs:48

I can pastebin my code if that would help, but it is a simple
host.AddServiceEndpoint Implementation using the RabbitMQBinding. Is there
another way I should be going about starting this service, or is this just
an example of unsupported WCF behavior?

I ran the MoMA against this exe and dll, and they both passed with no
errors/warnings.

Thanks in advance.
Mike




--
View this message in context: http://mono.1490590.n4.nabble.com/Unable-to-start-WCF-host-with-1-service-endpoint-tp4658637.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list