I'm starting to deal with SOAP messages and I need to get this response's string to then convert it into a picture but the problem is to get the string to begin with.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ObtenerImagenResponse xmlns="http://localhost/WebService">
<ObtenerImagenResult>This is a picture</ObtenerImagenResult>
</ObtenerImagenResponse>
</soap:Body>
</soap:Envelope>
How do I extract "This is a picture" from Java.
(I'm familiar with sending SOAP messages and I can get some messages too thanks to some C&P but I don't know how to work with all of them).
Thank you in advance. I can provide more information if needed but this is just an example of lots of similar SOAP responses I can't read and which carry one single element.