Why is process variable back from mock server stored but not displayed

I’m following the SOAP example from github here.

I’ve got it working by not using webservicex.net (as the service in the example always seems down) but by using a mock server I’ve set-up on SOAPUI.

My problem is that the parameter that is passed back is not displayed on the display results form that is displayed after the service task which called the service, yet when I look at the process variables in the cockpit I can see that the response is there.

The BPMN for the call is-

   <camunda:connector>
      <camunda:connectorId>soap-http-connector</camunda:connectorId>
	  <camunda:inputOutput>

	    <camunda:inputParameter name="url">http://JJEC-laptop:8088/mockUKLocationSoap12</camunda:inputParameter>

        <camunda:inputParameter name="payload">
          <camunda:script scriptFormat="freemarker" resource="soapEnvelope.ftl" />
        </camunda:inputParameter>

        <camunda:inputParameter name="headers">
          <camunda:map>
            <camunda:entry key="Content-Type">application/soap+xml;charset=UTF-8;action="SurgicalSupportServices"</camunda:entry>
          </camunda:map>
        </camunda:inputParameter>

        <camunda:outputParameter name="fullPatientName">
			<![CDATA[
				${S(response)
					.childElement("Body")
					.childElement("http://www.webserviceX.NET", "GetUKLocationByPostCodeResponse")
					.childElement("GetUKLocationByPostCodeResult")
					.textContent()}
			]]>
		</camunda:outputParameter>

However in the form screen, there is no value for fullPatientName but checking in the cockpit fullPatientName is there with the value from the mock service.

So, why is this happening?

Hi @theHornet
can you post the form (HTML+JS) that you are using to display the variable?

Best
Felix

OK, silly mistake on my side (as usual) the data was there but not showing because of a carriage return at the start of the field. Thread can be closed/archived.