WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping:

hi

I am trying web service,where it returns collection.

following is the code snippet,

@WebMethod()

public Collection<CustomerInfo> getAccountList()

{

Query query=em.createQuery("from CustomerInfo c");

return query.getResultList();

}

the problem is at the time of deploying i am getting following warning,

WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: customer.__JBossWS_CustomerRegisteration_EndpointInterfacePort_getAccountListResponse.result

i am using JBoss 4.0.5,it supporting JAX-WS RI 2.0_03-b24-fcs version.

could anybody tell me why this warning?

is JAX WS not able to resolve the collection type?

i tested my web service with webservice explorer provided myeclipse5.5 IDE,there web service returns null

please help me in this?

[874 byte] By [patel123a] at [2007-11-27 9:40:21]
# 1
I don' know JBoss, but from the error message it is trying to use JAX-RPC and not JAX-WS.
dkohlerta at 2007-7-12 23:17:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I just found the following if you are willing to use NetBeans. http://www.netbeans.org/kb/55/websvc-jaxws-jboss.html
dkohlerta at 2007-7-12 23:17:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...