I am using RestTemplate to make calls to a web service.
String userId = restTemplate.getForObject(createUserUrl, String.class);
If this fails to return a user ID I just get returned null but I don't know why. How do I output the actual XML response to a log?