Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-940

drools 6.3.0.Final 's kie.server.client did not work fine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 6.3.0.CR1, 6.3.0.CR2, 6.3.0.Final
    • kie server
    • None
    • WIN 7 TOMCAT8
      wildfly-8.2.1.Final

    • NEW
    • NEW

      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/instances/mortgages

      there is a "instances" behind the containers

              swiderski.maciej Maciej Swiderski (Inactive)
              rumly_jira Kevin Xu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: