在webservice单元的initialization下加:
InvRegistry.RegisterInvokeOptions(TypeInfo(IInvokable接口名称), ioDocument);
加编码