} catch (IOException e) {
throw new CitrusRuntimeException("Failed to read SOAP request", e);
}
try {
HelloRequest helloRequest = (HelloRequest) unmarshaller.unmarshal(webServiceRequest.getPayloadSource());
HelloResponse response = new HelloResponse();
response.setMessageId(helloRequest.getMessageId());
response.setCorrelationId(helloRequest.getCorrelationId());
response.setUser("HelloSoapService");
response.setText("Hello " + helloRequest.getUser());
WebServiceMessage webServiceResponse = messageFactory.createWebServiceMessage();
marshaller.marshal(response, webServiceResponse.getPayloadResult());
ByteArrayOutputStream bos = new ByteArrayOutputStream();