代码旋转网:
CamundaInputParameter camundaInputParameter2=createElement(camundaInputOutput, CamundaInputParameter.class);
camundaInputParameter2.setCamundaName("headers");
CamundaMap camundamap = createElement(camundaInputParameter2, CamundaMap.class);
CamundaEntry camundaentry = createElement(camundamap, CamundaEntry.class);
camundaentry.setCamundaKey("Accept");
camundaentry.setTextContent("application/json");
JSON响应:
{“时间戳”:1518705529135,“状态”:500,“错误”:“内部服务器错误”,“异常”:“org.camunda.bpm.model.xml.ModelException”,“消息”:“新孩子不是一个有效的子元素类型:map;有效的类型是:[]", "path": "/camunda/updateWorkflow/"