这是不可能的(尚未完成), 维护者在此处也回答了类似的问题。
解决方法是将侦听器添加到“ method_return_string”的event_manager中,然后执行一些字符串操作。
def _method_return_string(ctx): ctx.out_string[0] = ctx.out_string[0].replace("tns:result>", "result>") ctx.out_string[0] = ctx.out_string[0].replace("tns:notify>", "notify>")


