title: Issue while exposing method as webservices
body: <p>Here is the code what i used to expose as webservices</p>
  
  <pre><code>rs = st.executeQuery(individualqueries);
  columnNames = new ArrayList&lt;String&gt;();
  int numCols = rs.getMetaData().getColumnCount();
  int j = 0;
  for (j = 1; j &lt;= numCols; j++) 
  {
     columnNames.add(rs.getMetaData().getColumnName(j));
  }
  
  queryResult.fields.addAll(columnNames);
  records = new ArrayList&lt;List&lt;String&gt;&gt;();
  while (rs.next()) {
  
     List&lt;String&gt; fieldValues = new ArrayList&lt;String&gt;();
     int k = 0;
     for (k = 1; k &lt;= numCols; k++) {
  
        fieldValues.add(rs.getString(k));
     }
  
     records.add(fieldValues);
  }
  </code></pre>
  
  <p>When i try to expose this i am getting error message as follows</p>
  
  <pre><code>Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of     IllegalAnnotationExceptions
      java.util.List is an interface, and JAXB can't handle interfaces.
      this problem is related to the following location:
      at private java.util.List 
  </code></pre>