03-25-2011 06:04 AM
…
<process id="webServiceInvocation">
<startEvent id="theStart" />
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="webService" />
<serviceTask id="webService"
name="Web service invocation"
implementation="##WebService"
operationRef="tns:incOperation" />
<sequenceFlow id="flow2" sourceRef="webService" targetRef="theEnd" />
<endEvent id="theEnd" />
</process>
…
…
@Deployment
public void testWebServiceInvocation() throws Exception {
assertEquals(-1, counter.getCount());
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("webServiceInvocation");
waitForJobExecutorToProcessAllJobs(10000L, 250L);
assertTrue(processInstance.isEnded());
assertEquals(0, counter.getCount());
}
…
03-28-2011 05:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.