not use tmp file when call service, check char error