I am trying to parse the following SOAP answer coming from Savon SOAP api
<?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:getConnectionResponse xmlns:ns="http://webservice.jchem.chemaxon"> <ns:return> <ConnectionHandlerId>connectionHandlerID-283854719</ConnectionHandlerId> </ns:return> </ns:getConnectionResponse> </soapenv:Body> </soapenv:Envelope>
I am trying to use libxml-ruby without any success. Basically I want to extract something inside the tag and the value of connectionHandlerID.
source share