The one-dimensional time-independent Schrodinger equation is transformed into a Hamiltonian canonical equation by means of the Legendre transformation, then the symplectic schemes and a new shooting method extended to the eigenvalues of the Schrodinger equation. The method is applied to the calculations of one-dimensional harmonic oscillator, an anharmonic oscillator and the hydrogen atom. The numerical results are in good agreement with the exact ones.