AnsweredAssumed Answered

how do i create a web service task by activiti designer

Question asked by ywangdiscover@gmail.com on May 8, 2014
i want to create a  web service task by activiti designer . but i only can set class/expression/delegate expression  properties.  can i set other properties  by design . or i must write it in xml file?


such as : 
<import importType="http://schemas.xmlsoap.org/wsdl/"
          location="http://localhost:63081/calculator?wsdl"
          namespace="http://webservice.activiti.org/" />   

<dataInputAssociation>
        <sourceRef>input1</sourceRef><!– name of an Activiti variable –>
        <targetRef>num1</targetRef><!– name of an element of the input message –>
      </dataInputAssociation>
      <dataInputAssociation>
        <sourceRef>input2</sourceRef><!– name of an Activiti variable –>
        <targetRef>num2</targetRef><!– name of an element of the input message –>
      </dataInputAssociation>
      <dataOutputAssociation>
         <sourceRef>num3</sourceRef><!– name of an element of the output message –>
         <targetRef>output3</targetRef><!– name of an Activiti variable –>
      </dataOutputAssociation>
    </serviceTask>

how can i do it ?

or i must write a java service task which it is a web service task ?

Outcomes