简体   繁体   English

Json 负载无法传递到 wso2 中的端点

[英]Json payload is unable to pass to endpoint in wso2

here i am passing this payload { "cameraId": "1595", "fromDate": "2021-06-21 09:00:00", "toDate": "2021-06-21 09:00:10", "fileName": "test3" } to endpoint directly ,it will give true response as我在这里传递这个有效载荷{ "cameraId": "1595", "fromDate": "2021-06-21 09:00:00", "toDate": "2021-06-21 09:00:10", "fileName": "test3" }直接发送到端点,它将给出真实的响应

{
"clipUrl": "https://operator.smartkdcl.com/Videodownload/test3.mp4",
"status": true
 }

but when i call endpoint from api , it will responds back with false as `但是当我从 api 调用端点时,它会以 false 作为`

{ "status": false }` {“状态”:假}`

i tried with payload factory in api to pass this payload to endpoint but still false response.我尝试在 api 中使用有效负载工厂将此有效负载传递给端点,但仍然是错误响应。

它有效,只需将<property name="DISABLE_CHUNKING" value="true" scope="axis2"/>到代码中,谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM