Analysis of nucleon-nucleus scattering with the WKB method