The dirichlet problem in a domain whose boundary is partly degenerated