Nonhomogeneous Dirichlet problem for elliptic operators with axially discontinuous coefficients