The Address property on ChannelFactory.Endpoint was null
message
You probably forgot to add configuration name in
new ChannelFactory();
method
Programming and other things
The Address property on ChannelFactory.Endpoint was null
new ChannelFactory();
3 comments:
I am getting that message when im testing my service with wcf test client.
Where I can add conf name.
If you have in config:
system.serviceModel
bindings
wsHttpBinding
binding name="WSHttpBinding_IMyUserService" closeTimeout="00:01:00" openTimeout="01:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"
.
.
.
you will need to set:
ChannelFactory-MyWebService.IMyUserService- factory = new ChannelFactory -MyWebService.IMyUserService-("WSHttpBinding_IMyUserService");
(I cannot paste LT and GT signs in comment)
Post a Comment