[S:1]1[C:5]2[CH:6]=[CH:7][C:8]([C:10]([OH:12])=[O:11])=[CH:9][C:4]=2[N:3]=[CH:2]1.S(Cl)(Cl)=O.[CH3:17]O>>[CH3:17][O:11][C:10]([C:8]1[CH:7]=[CH:6][C:5]2[S:1][CH:2]=[N:3][C:4]=2[CH:9]=1)=[O:12]To a suspension of benzothiazole-5-carboxylic acid (1 eq.) in MeOH at 0° C. was added dropwise thionyl chloride (2 eq.). The reaction was stirred at 60° C. for 15 h. The solvents were concentrated under reduced pressure to afford benzothiazole-5-carboxylic acid methyl ester.