I’m calling a web service on a SOAPUI mock server.
I’m having issues processing the response. I get the following message:-
Cannot instantiate process definition length-conversion:10:b1ab3829-c24c-11e6-8173-a0a8cd4879e9: Error while evaluating expression: ${S(response).childElement("ConversionRateResult")}. Cause: org.camunda.spin.xml.SpinXmlElementException: SPIN/DOM-XML-01007 Unable to find child element with namespace 'http://www.w3.org/2003/05/soap-envelope' and name 'ConversionRateResult'
The response I have set up on SOAPUI is the following:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://www.webserviceX.NET/">
<soap:Body>
<web:ConversionRateResponse>
<web:ConversionRateResult>${rate}</web:ConversionRateResult>
</web:ConversionRateResponse>
</soap:Body>
</soap:Envelope>
Any ideas why this issue is getting picked up and what needs to be done to correct it?
Kind regards,
Anthony