Class ModelClient


  • public class ModelClient
    extends AbstractClient
    This ServiceClient is a WebService REST Client which encapsulate the communication with a REST web serice based on the Imixs Workflow REST API. The Implementation is based on the JAXB API 2.0.
    Author:
    Ralph Soika
    • Constructor Detail

      • ModelClient

        public ModelClient​(String base_uri)
        Initialize the client by a BASE_URL.
        Parameters:
        base_uri -
    • Method Detail

      • postModel

        public void postModel​(org.imixs.workflow.bpmn.BPMNModel model)
                       throws RestAPIException
        Posts a byte array of a BPMN Model to the Model service.
        Parameters:
        data - - byte array of a bpmn model file
        Throws:
        RestAPIException