Green's formula and singularity at a triple contact line. Example of finite-displacement solution