zhhaojie opened a new issue, #15323: URL: https://github.com/apache/dubbo/issues/15323
### Pre-check - [x] I am sure that all the content I provide is in English. ### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Dubbo Version java 21, dubbo 3.3.4 ### Steps to reproduce this issue on the java side: ``` dubbo: application: logger: slf4j name: chat-service qos-enable: false check-serializable: true auto-trust-serialize-class: true trust-serialize-class-level: 3 registry: address: nacos://192.168.124.3:8848?namespace=2b810d86-06c3-4e07-b09f-e85172994090 register-mode: instance protocol: name: tri port: 20884 ``` ``` @Slf4j @DubboService(timeout = 10000,protocol = {"tri"}) @Service public class CalendarToolProvider2 implements LLMCalendarTool2 { @Override public List<Long> demoTest(Long groupID) { List<Long> longs = List.of(); longs.add(1L); longs.add(2L); longs.add(3L); return longs; } @Override public String hello() { return "'helooooooo'"; } } ``` the meta data: ``` dubbo.metadata-service.url-params={"serialization":"hessian2","prefer.serialization":"hessian2","version":"2.0.0","dubbo":"2.0.2","release":"3.3.4","side":"provider","port":"20809","protocol":"tri"} dubbo.endpoints=[{"port":20884,"protocol":"dubbo"},{"port":20809,"protocol":"tri"}] dubbo.metadata.revision=33f645ebbe335cc4b8ef0f990d425d2a dubbo.metadata.storage-type=local meta-v=2.0.0 timestamp=1744721018804 ``` and on the python side: ``` import dubbo from dubbo.configs import ReferenceConfig class UnaryServiceStub: def __init__(self, client: dubbo.Client): self.unary_hello = client.unary(method_name="hello") self.unary_demoTest = client.unary(method_name="demoTest") def get_hello(self): return self.unary_hello() def get_demoTest(self, groupID): return self.unary_demoTest(groupID) if __name__ == "__main__": # 配置参考 reference_config = ReferenceConfig.from_url( "tri://192.168.124.3:20809/com.snugee.interfaces.LLMCalendarTool?serialization=hessian2", ) # 创建 Dubbo 客户端 dubbo_client = dubbo.Client(reference_config) # 创建服务代理 unary_service_stub = UnaryServiceStub(dubbo_client) # 调用 hello 方法 result_hello = unary_service_stub.get_hello() print(result_hello) # 调用 demoTest 方法 num = 93989834 # 长整型 result_demoTest = unary_service_stub.get_demoTest(num) print(result_demoTest) ``` ### What you expected to happen i want to know what's going on? can provide more simple demos? it's very hard to use. there are so many mirror bug of the document... ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org