If you want to apply transfinite technique you need to set both edges and surfaces as transfinite. So, possibly you also need to divide you surface object into quad-like patches.