[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:43:00 EDT 2015
    
    
  
     [ https://issues.jboss.org/browse/DROOLS-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Xu updated DROOLS-940:
----------------------------
    Description: 
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
  was:
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
> 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.CR1, 6.3.0.CR2, 6.3.0.Final
>         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