@@ -0,0 +1,1677 @@
+package org.slc.sli.api.resources.config;%0A%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0Aimport java.io.Writer;%0Aimport java.lang.annotation.Annotation;%0Aimport java.lang.reflect.Type;%0Aimport java.io.OutputStreamWriter;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.WebApplicationException;%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.core.MultivaluedMap;%0Aimport javax.ws.rs.ext.MessageBodyWriter;%0Aimport javax.ws.rs.ext.Provider;%0A%0Aimport com.fasterxml.jackson.xml.XmlMapper;%0A%0Aimport org.codehaus.jackson.map.SerializationConfig;%0Aimport org.springframework.stereotype.Component;%0A%0A/**%0A * Custom JAXB Context Resolver that will generate XML%0A *%0A * */%0A@SuppressWarnings(%22rawtypes%22)%0A@Provider%0A@Component%0A@Produces(MediaType.APPLICATION_XML)%0Apublic class JacksonXMLMsgBodyWriter implements MessageBodyWriter %7B%0A    %0A    @Override%0A    public boolean isWriteable(Class type, Type genericType, Annotation%5B%5D annotations, MediaType mediaType) %7B%0A        return true;%0A    %7D%0A    %0A    @Override%0A    public long getSize(Object t, Class type, Type genericType, Annotation%5B%5D annotations, MediaType mediaType) %7B%0A        return -1;%0A    %7D%0A    %0A    @Override%0A    public void writeTo(Object t, Class type, Type genericType, Annotation%5B%5D annotations, MediaType mediaType,%0A                        MultivaluedMap httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException %7B%0A        XmlMapper xmlMapper = new XmlMapper();%0A        xmlMapper.configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS, false);%0A        xmlMapper.configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false);%0A        xmlMapper.writeValue(entityStream, t);%0A    %7D%0A    %0A%7D%0A%0A

Implement Jackson XML message body writer