使用产品:iserver 8c、9d 操作系统:win10 x64 数据类型: oracle 11g x64
向发布到iserver的一个数据服务的数据集中添加要素总是提示"the number of 'fieldNames' and 'fieldValues' are not equal or Geometry is null"
iserver的控制台和日志显示:- WARN - addFeature方法中更新objRecord时失败
发送的内容:
[{
"ID": 0,
"fieldNames": ["BSM", "YSDM", "ZDTZM", "ZL", "ZDMJ", "MJDW"],
"fieldValues": ["200610", "2002020000", "A", "坐落", 5848.2300, "1"],
"geometry": {
"center": null,
"id": 0,
"parts": [11],
"points": [{
"x": 38587332.02,
"y": 4114296.98
}, {
"x": 38587318.922,
"y": 4114116.065
}, {
"x": 38587285.42905,
"y": 4114119.3684
}, {
"x": 38587289.2632,
"y": 4114163.46085
}, {
"x": 38587289.88855,
"y": 4114170.6528
}, {
"x": 38587291.5211,
"y": 4114189.4287
}, {
"x": 38587293.77895,
"y": 4114215.3965
}, {
"x": 38587296.036799,
"y": 4114241.3643
}, {
"x": 38587298.2946,
"y": 4114267.33205
}, {
"x": 38587302.2939,
"y": 4114300.0592
}, {
"x": 38587332.02,
"y": 4114296.98
}],
"style": null,
"type": "REGION"
}
}]
fieldNames和fieldValues的个数和类型都是能对应上的,而且就算只传1个字段(BSM)也会是这样提示,
传递的fieldNames也都在库中存在
各尝试途径的反馈:
是我服务配置的不对么,已启用编辑