if (rmd.getResponseType() != void.class)
{
wadlResponse = wadlGenerator.createResponse();
for (MediaType mediaType : rmd.produces())
{
RepresentationType wadlRepresentation = wadlGenerator.createResponseRepresentation(mediaType);
// Element can represent normal response or fault response
JAXBElement<RepresentationType> wadlRepresentationElement =
new JAXBElement<RepresentationType>(new QName("http://research.sun.com/wadl/2006/10", "representation"),
RepresentationType.class, wadlRepresentation);