WCF: Why does passing in a remote endpoint fail when passing the same endpoint via the configuration file works?
This works:
Using con As New Offerin
Appearantly you have to pass in an empty SpnEndpointIdentity to make this work.
Using con As New OfferingTap.OfferingTapClient( _
New ServiceModel.InstanceContext(callback), "NetTcpBinding_IOfferingTap", _
New ServiceModel.EndpointAddress(New Uri("net.tcp://qa1offerings:8190/"), _
New ServiceModel.SpnEndpointIdentity("")))