As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?xml version="1.0" encoding="UTF-8"?> <definitions id="definitions" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" targetNamespace="org.activiti.enginge.impl.webservice" xmlns:tns="org.activiti.enginge.impl.webservice" xmlns:counter="http://webservice.impl.engine.activiti.org/"> <import importType="http://schemas.xmlsoap.org/wsdl/" location="http://localhost:8080/axis2/services/Counter?wsdl" namespace="http://webservice.impl.engine.activiti.org/" /> <process id="Parameters_test"> <dataObject id="dataInputOfProcess" name="Input for webservice" itemSubjectRef="xs:int"/> <startEvent id="theStart" /> <sequenceFlow id="flow1" sourceRef="theStart" targetRef="theScriptTask" /> <scriptTask id="theScriptTask" scriptFormat="groovy" name="Execute script"> <script> def scriptVar = "10" execution.setVariable("dataInputOfProcess", scriptVar) </script> </scriptTask> <sequenceFlow id="flow1a" sourceRef="theScriptTask" targetRef="webService" /> <serviceTask id="webService" name="Call WS" implementation="##WebService" operationRef="tns:setToOperation"> <!– The BPMN 2.0 Meta Model requires an Input/Output Specification –> <ioSpecification> <dataInput itemSubjectRef="tns:setToRequestItem" id="dataInputOfServiceTask" /> <inputSet> <dataInputRefs>dataInputOfServiceTask</dataInputRefs> </inputSet> <outputSet /> </ioSpecification> <dataInputAssociation> <sourceRef>dataInputOfProcess</sourceRef> <targetRef>dataInputOfServiceTask</targetRef> <assignment> <from>${dataInputOfProcess}</from> <to>${dataInputOfServiceTask.value}</to> </assignment> </dataInputAssociation> </serviceTask> <sequenceFlow id="flow2" sourceRef="webService" targetRef="waitState" /> <receiveTask id="waitState" /> <sequenceFlow id="flow3" sourceRef="waitState" targetRef="theEnd" /> <endEvent id="theEnd" /> </process> <!– Interface: implementationRef = QName of WSDL Port Type –> <interface name="Counter Interface" implementationRef="counter:Counter"> <!– Operation: implementationRef = QName of WSDL Operation –> <operation id="setToOperation" name="setTo Operation" implementationRef="counter:setTo"> <inMessageRef>tns:setToRequestMessage</inMessageRef> </operation> </interface> <message id="setToRequestMessage" itemRef="tns:setToRequestItem" /> <itemDefinition id="setToRequestItem" structureRef="counter:setTo" /><!– QName of input element –> </definitions>
<br>…<br><xs:complexType name="setTo"><br><xs:sequence><br><xs:element name="value" type="xs:int"/><br></xs:sequence><br></xs:complexType><br>…<br>