Referencing Web Service in web.config
From Logic Wiki
_service = new VDSWebsiteWebServiceClient();
_service.Endpoint.Address = new EndpointAddress(_configuration.GetSection("AppSettings")["ApiUrl"]);
it seems like url's in auto generated reference fileis overwritten by this.