Comments (1)
from dubbo.java_class import JavaList, JavaLong
from dubbo.client import DubboClient
client = DubboClient('127.0.0.1', 12358)
resp = client.send_request_and_return_response(service_name='calc', method_name='expx', args=[JavaList([1, 2, 3]), JavaLong(123))
不知道这样是不是能够解决你的问题,其实JavaList这种只是做了个简单封装,类似如JavaList = type('java.util.List', (list, ), {})
from dubbo-py.
Related Issues (10)
- 请问下支持json格式的参数吗 HOT 1
- 请问做为client或server时 有分组情况如何处理? HOT 1
- 请问下序列化是基于hessian2吗?默认的dubbo协议序列化使用的是Hessian Lite,能兼容吗? HOT 1
- 提供的provider,调用时提示WARNING:root:no handler for b'com.****.mock.demo.api.IMatchService55'.b'$invoke' HOT 8
- dubbo-py使用疑问 HOT 3
- java 范型调用问题 HOT 1
- 使用报错 HOT 3
- python调用java的dubbo服务返回报错undecoded! HOT 1
- dubbo service 版本必须指定才能调通吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dubbo-py.