Tuesday, October 07, 2008

The Address property on ChannelFactory.Endpoint was null

You created web service client, set up config file using Service Configuration Editor and you get

The Address property on ChannelFactory.Endpoint was null

message

You probably forgot to add configuration name in

new ChannelFactory();

method

9 comments:

Anonymous said...

I am getting that message when im testing my service with wcf test client.
Where I can add conf name.

Mijalko said...

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");

Mijalko said...

(I cannot paste LT and GT signs in comment)

tayyab ali said...

I dont know about Regular AutoCAD but in AutoCAD Architecture this is part of the Express Tools Add-on package that comes free with the suite, but does not install by default.home buyers

shahbaz said...

It is so sad that a foreign company owned some property in the us. There has no declaration about this land and if the land registry records was not there, people may not have know about this fact.human rights assignments

shahbaz said...

This is the dream of every person to live in a splendid house with his family because you want and find the perfect house, in the perfect place so your kids can have a perfect childhood. This is the main reason that chooses the best place. Before buying the property, first, see the location and community. When you find all the facilities then your life will be beautiful.Phoenix AZ Real Estate

shahbaz said...

This is some really good information about probate attorneys. My grandmother needs to start getting her estate planning set up. I liked that you pointed out that it would be smart for her to consider starting a trust. It does seem like we should talk to a professional about what the next step is.hiring a ghostwriter cos

imran said...

Investing in a real estate business is risky but the rewards that you’ll receive in the end is so much better than investing in the stock market. Anyway, just an opinion.:)two bedroom apartments in las vegas

imran said...

In real estate there is also the creative investor who using techniques like lease options, owner financing, short sales and wholesaling to make money from real estate with very little cash and no credit. Of course these types of strategies are based on your ability to find motivated sellers.awnings