Treatment of substituted aminobenzoate (I) with 4-nitrobenzoyl chloride (II) affords amide (III), whose nitro group is converted into an amino group by hydrogenation over Pd/C, providing compound (IV). Finally, reaction of aniline (IV) with isocyanate (V) furnishes the target product.