title: Parsing Soap response - XML/XPATH (In soapUI) (namespace in SoapUI response)
body: <p>If I've a Soap response like below</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
     &lt;soapenv:Body&gt;
        &lt;ns0:SomeResponse xmlns:ns0="urn:ABC:EFG:HIJ:Some_WS"&gt;
           &lt;ns0:ID&gt;6384&lt;/ns0: ID&gt;
           &lt;ns0:Some_ID&gt;10530&lt;/ns0: Some_ID &gt;
           &lt;ns0:Status&gt;SomeStatus&lt;/ns0:Status&gt;
           &lt;ns0:Number&gt;INT1037;INT1027;&lt;/ns0: Number&gt;
        &lt;/ns0:SomeResponse &gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>How can I retrieve <code>Some_ID</code> value. I am using the below code in SoapUI to retrieve the value of <code>Some_ID</code>.</p>
  
  <pre><code>...
  def response = tstep.getPropertyValue("response");
  def gutils = new com.eviware.soapui.support.GroovyUtils( context );
  def holder = gutils.getXmlHolder("$response");
  // define namespace
  holder.namespaces["ns0"] = "http://www.w3.org/2001/XMLSchema-instance"
  def val1 = holder.getNodeValue("//ns0:SomeResponse/ns0:Some_ID");
  log.info(val1)
  </code></pre>
  
  <p>But <code>log.info</code> is giving me <code>null</code> value.</p>