How get the text in a tag Object in xml (java)?

I have an xml of a soap response and one of the tags contains a string, but xsd indicates the tag type as Object. I'm parsing the file with DOM, getting the tags like nodes (the body i'm returning like a node with the childs node), them using JAX for transforming in a class:

CloseableHttpResponse response = sendRequest(auth, body);
Node noEpharma = returnResponse(response);

StringWriter writerEpharma = new StringWriter();
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformerEpharma = transformerFactory.newTransformer();
transformerEpharma.setOutputProperty(OutputKeys.METHOD, "xml");
transformerEpharma.transform(new DOMSource(noEpharma), new StreamResult(writerEpharma));

JAXBContext contextEpharmaRetorno = JAXBContext.newInstance(ObjectFactory.class.getPackage().getName());

Epharma epharmaRetorno = ((JAXBElement<Epharma>)
        contextEpharmaRetorno.createUnmarshaller().unmarshal(new StringReader(writerEpharma.toString()))).getValue();

 if ("Message".equalsIgnoreCase(noEpharma.getFirstChild().getNodeName())) {
  System.out.println("Error: "+ noEpharma.getFirstChild().getTextContent());
 }
 else if (!"00".equals(epharmaRetorno.getResponseCode()) && !"77".equals(epharmaRetorno.getResponseCode())) {
  Node no = (Node) epharmaRetorno.getMessage();
  System.out.println("Error: "+ no.getNodeValue());
}

Using getNodeValue or getTextContent not return the string inside!

The xsd:

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {

})
@XmlRootElement(name = "Epharma")
public class Epharma {

  @XmlElement(name = "Transaction", required = true)
  protected String transaction;
  @XmlElement(name = "VersaoLayout", required = true)
  protected String versaoLayout;
  @XmlElement(name = "CodigoFarmacia", required = true)
  protected String codigoFarmacia;
  @XmlElement(name = "Message")
  protected Object message;
  @XmlElement(name = "RespondeCode")
  protected String RespondeCode;

How i get the string in the Object Message?