0 Replies Latest reply on Jul 6, 2014 4:42 PM by jbpm 6

    jBPM6 how to map REST Task Service json/xml response

    jbpm 6 Newbie

      I have a process containing a REST task service (see attached) which calls a back end REST service (Java service), the service returns XML response such as

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>







      Instead of getting this as a whole string, I want to map this into separate fields. Is this achievable? It will be much appreciated if you can show me how to do that. Thanks.


      String firstname = customer.firstname;

      String lastname = customer.lastname;