title: How to Parse SOAP Response from a third party server using Java
body: <p>I am a newbie to SOAP services, I want to extract XML from the following SOAP response which belongs to corresponding SOAP request, so my XML is contained in a String tag. I want to extract the xml from the String Tag. Please give me the solution with an example</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;string xmlns="http://www.webserviceX.NET/"&gt;
     &lt;StockQuotes&gt;
        &lt;Stock&gt;
           &lt;Symbol&gt;STRING&lt;/Symbol&gt;
           &lt;Last&gt;0.00&lt;/Last&gt;
           &lt;Date&gt;N/A&lt;/Date&gt;
           &lt;Time&gt;N/A&lt;/Time&gt;
           &lt;Change&gt;N/A&lt;/Change&gt;
           &lt;Open&gt;N/A&lt;/Open&gt;
           &lt;High&gt;N/A&lt;/High&gt;
           &lt;Low&gt;N/A&lt;/Low&gt;
           &lt;Volume&gt;N/A&lt;/Volume&gt;
           &lt;MktCap&gt;N/A&lt;/MktCap&gt;
           &lt;PercentageChange&gt;N/A&lt;/PercentageChange&gt;
           &lt;AnnRange&gt;N/A - N/A&lt;/AnnRange&gt;
           &lt;Earns&gt;N/A&lt;/Earns&gt;
           &lt;P-E&gt;N/A&lt;/P-E&gt;
           &lt;Name&gt;STRING&lt;/Name&gt;
        &lt;/Stock&gt;
     &lt;/StockQuotes&gt;
  &lt;/string&gt;
  </code></pre>