I get a response from a webservice as a String
which looks like this.
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body><ns2:getTitlesResponse xmlns:ns2="http://localhost:8080/wsGrabber/GrabberService">
<return>
<titles>sampleTitle</titles>
<urls>http://sample.com</urls>
</return>
</ns2:getTitlesResponse>
</S:Body>
</S:Envelope>
How can I get an array titles and urls?