How to parse soap response xml using javascript

Hi all, I am having a soap response xml and trying to write script in camunda to parse it to reach out to actual required element. below is the script trying out and the response.

response xml -

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="" xmlns:xs="" xmlns:soapenc="" xmlns:soap="">
<processId xsi:type="xs:string">1234</processId>

Script –


but getting below error-
SPIN/DOM-XML-01007 Unable to find child element with namespace '' and name 'HandleXPMmessageAlert'

could you please help me on this.