A Smart ECG Measurement System Based on Web-Service-Oriented Architecture for Telemedicine Applications