]
Toshiya Kobayashi closed DROOLS-940.
------------------------------------
Resolution: Explained
drools 6.3.0.Final 's kie.server.client did not work fine
---------------------------------------------------------
Key: DROOLS-940
URL:
https://issues.redhat.com/browse/DROOLS-940
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 6.3.0.CR1, 6.3.0.CR2, 6.3.0.Final
Environment: WIN 7 TOMCAT8
wildfly-8.2.1.Final
Reporter: Kevin Xu
Assignee: Maciej Swiderski
Priority: Major
KieServicesConfiguration config = KieServicesFactory.newRestConfiguration(
"http://localhost:8230/kie-server/services/rest/server",
"kieserver", "kieserver1!");
config.setMarshallingFormat(MarshallingFormat.XSTREAM);
KieServicesClient client = KieServicesFactory.newKieServicesClient(config);
System.out.println(xStreamXml);
// "ListenerReproducer" is the name of the Container
ServiceResponse<String> response =
client.executeCommands("mortgages", xStreamXml);
THE CODE CAN NOT WORK IN 6.3 FINAL,but it can work in 6.3 rc2
because the container's POST URI is changed
http://localhost:8230/kie-server/services/rest/server/containers/instance...
there is a "instances" behind the containers