Calling windows service in different namespace
Hi, I have a class library project (say libA) and have a service
reference from windows service (say ServiceA). While creating the a
class in the libA project, then by default the namespace will be libA.
If I change the namespace to anything else other than libA, then I
can't successfully create a proxy of ServiceA (error: Could not find
default endpoint element that references contract
'ServiceReferenceA.ServiceA' in the ServiceModel client configuration
section... can anyone please help?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rekha SinghRank #1,571 · 1K reputationPosted Feb 8, 2010, 9:07 PM EST
if u chane the name of ur namespace then u have to make sure u r changin the proj name as well and build ur proj and the add ur reference once again..hope it helps u
Ronald Suharta17 reputationPosted Feb 9, 2010, 9:32 PM EST