-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
HttpServiceTaskTest.testGetWithRequestHandler.bpmn20.xml
25 lines (25 loc) · 1.48 KB
/
HttpServiceTaskTest.testGetWithRequestHandler.bpmn20.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://www.flowable.org/processdef">
<process id="simpleGetOnly" name="Simple HTTP Get process">
<serviceTask id="httpGet" name="HTTP Get" flowable:type="http">
<extensionElements>
<flowable:field name="requestMethod">
<flowable:string><![CDATA[POST]]></flowable:string>
</flowable:field>
<flowable:field name="requestUrl">
<flowable:string><![CDATA[http://localhost:1111/bla]]></flowable:string>
</flowable:field>
<flowable:httpRequestHandler class="org.flowable.http.bpmn.SimpleHttpRequestHandler" />
</extensionElements>
</serviceTask>
<startEvent id="theStart" name="Start"></startEvent>
<endEvent id="theEnd" name="End"></endEvent>
<sequenceFlow id="flow1" sourceRef="theStart" targetRef="httpGet"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="httpGet" targetRef="theEnd"></sequenceFlow>
</process>
</definitions>