Drools-通过KIE服务器REST执行规则,不给出响应

Drools-通过KIE服务器REST执行规则,不给出响应,drools,drools-kie-server,kie-server,Drools,Drools Kie Server,Kie Server,我试图通过KIE执行服务器(KIE-server-7.17.0.Final-ee7.war)执行使用Drools Workbench(business-central-7.17.0.Final-wildfly14.war)编写的规则,当我使用Postman、REST客户端执行规则时,没有得到预期的响应 我已经尝试设置请求头“X-KIE-ContentType XSTREAM”,设置有效负载标签,其中out identifier=“Employee”是事实 请求有效载荷 <batch-exe

我试图通过KIE执行服务器(KIE-server-7.17.0.Final-ee7.war)执行使用Drools Workbench(business-central-7.17.0.Final-wildfly14.war)编写的规则,当我使用Postman、REST客户端执行规则时,没有得到预期的响应

我已经尝试设置请求头“
X-KIE-ContentType XSTREAM
”,设置有效负载标签
,其中
out identifier=“Employee”
是事实

请求有效载荷

<batch-execution lookup="TestBaseSession">
  <insert out-identifier="Employee" return-object="true" entry-point="DEFAULT">
  <com.test.Employee>
    <iEmpId>27</iEmpId>
    <strName></strName>
  </com.test.Employee>
  </insert>
  <fire-all-rules/>
</batch-execution>
我希望输出如下(或与之类似)


27
福巴
但是我没有得到预期的结果,System.out消息也没有打印在Wildfly控制台中,这表明规则没有执行?任何建议都会很有帮助

package com.test;
import com.test.Employee;

//This is the first rule
rule "001"
    when
        emp : Employee(iEmpId==27)
    then
        emp.setStrName("FooBar");
        insert(emp);
        //System.out.println("DDDDD");
end
<response type="SUCCESS" msg="Container Test_1.0.0 successfully called.">
    <result class="execution-results">
        <result identifier="Employee">
            <com.test.Employee>
                <iEmpId>27</iEmpId>
                <strName>FooBar</strName>
            </com.test.Employee>
        </result>
        <fact-handle identifier="Employee" external-form="0:1:850421248:850421248:1:DEFAULT:NON_TRAIT:com.test.Employee"/>
    </result>
</response>