AnsweredAssumed Answered

Invoke activiti-rest with CXF WebClient

Question asked by yangenxiong on Jul 18, 2013
Latest reply on Jul 18, 2013 by yangenxiong
     when I use CXF WebClient to invoke the http://localhost:8080/activiti-rest/service/process-definition/test:1:401 REST WebService, The CXF WebClient change The URI: http://localhost:8080/activiti-rest/service/process-definition/test%3A1%3A401, the activiti-rest module could not find the processDefinition, because id is "test%3A1%3A401", but not test:1:401
    I print the WebClient URI, here is the code:

         WebClient client = WebClient.create(
               "http://localhost:8080/activiti-rest/service/process-definition/myTest:1:401" ,
               userName, passwd, null);

    Call WebClient getBaseURI method, result is http://localhost:8080/activiti-rest/service/process-definition/test:1:401.
    Call getCurrentURI method, result is http://localhost:8080/activiti-rest/service/process-definition/test%3A1%3A401.
    The WebClient work with CurrentURI in fact, how to resolve this?  thanks a lot.