public SimpleResponseDTO runSimpleTest(SimpleRequestDTO requestDTO)
{
try
{
SimpleResponseDTO rsDTO = new SimpleResponseDTO();
rsDTO.setFirstName(requestDTO.getFirstName().toUpperCase());
rsDTO.setLastName(requestDTO.getLastName().toUpperCase());
System.out.println("Got firstname: " + requestDTO.getFirstName());
System.out.println("Got lastname:" + requestDTO.getLastName());
return rsDTO;
}
catch (Throwable t)
{
Logger logger=Logger.getLogger(this.getClass());
logger.error(t);
SimpleResponseDTO rsDTO = new SimpleResponseDTO();
return rsDTO;
}
}