this is the code snippet i tried,
@WebMethod()
public Collection<CustomerInfo> getAccountList()
{
Query query=em.createQuery("from CustomerInfo c");
return query.getResultList();
}
i tested web service using webservice explorer provided by myeclipseIDE,but it returns nothing.
at the time of deploying this is the warning i get while deploying my application.
WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: customer.__JBossWS_CustomerRegisteration_EndpointInterfacePort_getAccountListResponse.result
could you help me in solving this problem?
any idea where i went wrong?