[jboss-jira] [JBoss JIRA] (DROOLS-940) drools 6.3.0.Final 's kie.server.client did not work fine

Kevin Xu (JIRA) issues at jboss.org
Thu Oct 8 07:42:00 EDT 2015


Kevin Xu created DROOLS-940:
-------------------------------

             Summary: drools 6.3.0.Final 's kie.server.client did not work fine
                 Key: DROOLS-940
                 URL: https://issues.jboss.org/browse/DROOLS-940
             Project: Drools
          Issue Type: Bug
          Components: kie server
    Affects Versions: 6.3.0.Final, 6.3.0.CR2, 6.3.0.CR1
         Environment: WIN 7 TOMCAT8
wildfly-8.2.1.Final
            Reporter: Kevin Xu
            Assignee: Edson Tirelli


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/{color:red}instances{color}/mortgages




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list