> > Telnet 里的 ls命令 也不会返回参数的列表,你已经获取到了ReferenceConfig 你就应该知道调用的Interface
> > ,也就能知道需要的参数。
>
> 额,不是参数列表,应该是参数的引用类型列表。我测试dubbo接口理论上我是应该知道需要什么参数的,应为做的是一个通用的工具,希望做到可以有智能提示,下拉框选择之类的方便功能可以直接选择参数列表(UI
> 工具)
>
> ```
> dubbo>ls -l asura.dubbo.service.EchoService
> java.lang.String echoString(java.lang.String)
> dubbo>
> ```
> 上面 `java.lang.String` 就是参数类型,这块也可能是自定义的 `Model` 类型,我需要的是这个类型信息
> 泛化引用调用时需要:
> 如: `com.xxx.Person`
>
> ```
> Object result = genericService.$invoke("findPerson", new String[]
> {"com.xxx.Person"}, new Object[]{person});
> ...
> ```
开始为了避免自动化测试烦我,用java做了一个dubbo客户端工具,界面太不友好导致别人不愿意用,所以才用winform。。。
满足一般测试开发使用了,参数可以看接口文档:https://gitlab.com/jianhao84/dubborun
[ Full content available at:
https://github.com/apache/incubator-dubbo/issues/3105 ]
This message was relayed via gitbox.apache.org for
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]