/// <summary>
        /// Create an instance of ApxWS based on existing login session
        /// </summary>
        /// <param name="authenticate">AuthenticateWS instance with login session</param>
        /// <returns>ApxWS instance</returns>
        private ApxWS.ApxWS CreateApxWSInstance(AuthenticateWS.AuthenticateWS authenticateWS)
        {
            ApxWS.ApxWS apxws = null;
            if (authenticateWS.Login())
            {
                apxws = new ApxWS.ApxWS();
                apxws.UseDefaultCredentials = authenticateWS.UseDefaultCredentials;
                apxws.CookieContainer       = authenticateWS.CookieContainer;
                this.ResolveServiceUrl(apxws);
            }
            else
            {
                throw new Exception("Autentication Falis.");
            }

            return(apxws);
        }