npm init joliejolie2wsdl --namespace sum --portName CalculatorSOAPPort --portAddr socket://localhost:5656 --outputFile sumWsdl.wsdl main.olopen the sumWsdl-soapui-project.xml soapui project file or create a new from sumWsdl.wsdl
See 'diag.bpmn' in camunda modeler
- service url
http://localhost:5656 - soap body (XML compatible json)
it sends x and y process variables to jolie microservice
{ "sum": { "x": x, "y": y } } - output mapping:
- result variable
soapresopnse: soapresponse has the content{"Envelope":{"Body":{"sumResponse":{"x":"8"}}}} - or with variable mapping:
set the process variable sum to
{ sum: response.Envelope.Body.sumResponse.x }"8"
- result variable