We construct two kinds of capillary surfaces by using a perturbation method. Surfaces of fi rst kind are embedded in a solid ball B of R-3 with assigned mean curvature function and whose boundary curves lie on partial derivative B : The contact angle along such curves is a non-constant function. Surfaces of second kind are unbounded and embedded in R-3 \ (B) over tilde; (B) over tilde being a deformation of a solid ball in R-3 : These surfaces have assigned mean curvature function and one boundary curve on partial derivative(B) over tilde : Also in this case the contact angle along the boundary is a non-constant function.