[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    [Mono-list] WebChannelFactory throwing: Client endpoint configuration '' was not found in 0 endpoint
From:       Chris Derrick <Chris.derrick () storagecraft ! com>
Date:       2012-05-29 20:22:25
Message-ID: 1338322945456-4649596.post () n4 ! nabble ! com
[Download RAW message or body]

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.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic