Delphi调用Java的WebService报错can not find dispatch method for{null}terminalNo using "Payload QName-based Dispatcher"的解决方法

修改InvRegistry.RegisterInvokeOptions(TypeInfo(TestWebservice), ioDocument); ------就是把 ioLiteral 改成 ioDocument,不报错,可是服务端收到的参数是null。

将InvRegistry.RegisterInvokeOptions(TypeInfo(TestWebservice), ioDocument);注释掉或者改成不是ioDocument和ioLiteral都可以。