Code related to WS connection refactored to WebServiceHelper.cs