[CH3:1][NH:2][C:3]([N:5]1[CH2:9][CH2:8][S:7][CH:6]1[C:10]1[CH:15]=[CH:14][CH:13]=[CH:12][C:11]=1[O:16][CH2:17][CH2:18]Cl)=[O:4].[C:20]1([N:26]2[CH2:31][CH2:30][NH:29][CH2:28][CH2:27]2)[CH:25]=[CH:24][CH:23]=[CH:22][CH:21]=1.C(=O)([O-])[O-].[K+].[K+].[I-].[Na+]>CN(C)C=O>[CH3:1][NH:2][C:3]([N:5]1[CH2:9][CH2:8][S:7][CH:6]1[C:10]1[CH:15]=[CH:14][CH:13]=[CH:12][C:11]=1[O:16][CH2:17][CH2:18][N:29]1[CH2:30][CH2:31][N:26]([C:20]2[CH:25]=[CH:24][CH:23]=[CH:22][CH:21]=2)[CH2:27][CH2:28]1)=[O:4]A mixture of 1.81 g of N-methyl-2-{2-(2-chloroethyloxy)phenyl]thiazolidine-3-carboxamide, 0.97 g of N-phenylpiperazine, 0.83 g of potassium carbonate, 0.90 g of sodium iodide and 25 ml of dimethylformamide is stirred at 90° C. for 18 hours. The mixture is concentrated under reduced pressure to remove solvent. Water is added to the residue, and the aqueous mixture is extracted with ethyl acetate. The extract is washed with water, dried and then concentrated under reduced pressure to remove solvent. The residue is crystallized with isopropyl ether, and the crystals are recrystallized from a mixture of ethyl acetate and n-hexane. 1.48 g of N-methyl-2-{2-[2-(4-phenylpiperazin-1-yl)ethyloxy]phenyl}thiazolidine-3-carboxamide are obtained. Yield: 57.8%