private bool CheckWS(string wsUrl)
        {
            try
            {
                int    tryCount = 5;
                string result   = "";

                while (!result.Equals(WSWmsHelper.WS_RETURN_OK) && 0 < tryCount)
                {
                    result = WSWmsHelper.PingWS();
                    tryCount--;
                }

                if (!result.Equals(WSWmsHelper.WS_RETURN_OK))
                {
                    ShowSetupWebConnectionMessage();
                    return(false);
                }

                if (null != tvWSS)
                {
                    tvWSS.Text = lblWSS + wsUrl;
                }

                return(true);
            }
            catch (Exception ex)
            {
                Utility.ShowErrorMessage(this, GetString(Resource.String.NoConnection) + "\n" + ex.Message);
                return(false);
            }
        }