the code example fails the first time due to 'service is listening at endpoint "http://localhost:8000/ServiceModelSamples/Service/CalculatorSerivce"
i added client.Open() in the client code and that seems to fix the problem.
however, this cannot be reproduced. after the first failure, subsequent calls to the service WITHOUT explicitly calling client.Open() also succeeds.
could someone explain to me why? thanks.