[Mono-list] WebChannelFactory throwing: Client endpoint configuration '' was not found in 0 endpoints

Chris Derrick Chris.derrick at storagecraft.com
Tue May 29 20:22:25 UTC 2012


I have some C# code that communicates with a REST API.  This code works great
on Windows, but when I run it through Mono an exception is thrown.  Here is
the code that throws the error:

System.ServiceModel.Web.WebChannelFactory<IService> cf = new
System.ServiceModel.Web.WebChannelFactory<IService>(new Uri(Address));

The error message is: Client endpoint configuration '' was not found in 0
endpoints

Has anyone run into this before? Is there a work around or alternative way
to create a channel that people are using successfully?

Thanks,


--
View this message in context: http://mono.1490590.n4.nabble.com/WebChannelFactory-throwing-Client-endpoint-configuration-was-not-found-in-0-endpoints-tp4649596.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list