WCF Error: The address property on ChannelFactory.Endpoint was null

I made a console app which is serving as a WCF user. The application.config contains of the below:

messageVersion="Soap12" writeEncoding="utf-8">
maxBytesPerRead="4096" maxNameTableCharCount="16384" />

contract="WebContentClient.IWebContentService" name="WebHttpBinding_IWebContentService" />

When I execute it I get the below error:
The address feature on ChannelFactory.Endpoint was null 

The endpoint element has an address feature but I'm not confirm what I'm suppose to assign that feature. I'm running my web service on localhost.
I added the address and I hv changed the original code snippet. But I get the error back telling that There was no endpoint listening to the address="http://localhost:1252/SomeService.svc". If I visit the wcf url I can see the web service.

Get Source Code

  Views 254   Posted on : Thursday, March 21, 2013 10:41:38 AM
Related Tags:

Replies on "WCF Error: The address property on ChannelFactory.Endpoint was null" :

Nobody has replied on this post , be first to post answer.

Post Your Answer/Comment:

Please Login first to post Reply !

Note: Please Put Code into <code></code> block.

Also See: