JAX WS webservice returning List
Hi
I want web service to return list,following is the code snippet i tried
@WebMethod()
public List<CustomerInfo> getAccountList()
{
Query query=em.createQuery("from CustomerInfo c");
List<CustomerInfo> info= query.getResultList();
return info;
}
i tested webservice using web service explorer provided by myeclipse IDE but it retuns null.
can anybody tell me where i went wrong?
thanks in advance...

