title: How to get returned object from WebResponse
body: <p>I'm trying to use a web service to return an array to my GUI, but I don't know how to actually pull the array from the <code>WebResponse</code>.  </p>
  
  <p>This is a method in the GUI to make the call to the web service:</p>
  
  <pre><code>public static ArrayList getList()
  {
      String[] list;
  
      WebRequest request = WebRequest.Create("localhost:8080/test");
      WebResponse response = request.GetResponse();
      list = ??? //&lt;--What do I put here to actually access the returned array?
  
      return response;
  }
  </code></pre>