code: public String marshal(ResponseWrapper response) {
  
      Services xmlServices = this.composeResponseFromResponseWrapper(response);
  
      StringWriter sw = new StringWriter();
      try {
        JAXBContext jaxbContext = JAXBContext.newInstance(Services.class);
        Marshaller jaxbMarshaller = jaxbContext.createMarshaller();
  
        // output pretty printed
        jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
  
        jaxbMarshaller.marshal(xmlServices, sw);
      } catch (PropertyException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (JAXBException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
      return sw.toString();
    }
docs: Translate a ResponseWrapper into the wireline string. See
  {@link ResponseWrapper}
  
  @param response the ResponseWrapper instance
  @return the wireline string