oneway method is not generated correctly

Fix a bug that oneway method is not generated correctly for async
client.