JAX WS version?

hiI am very new to webservcie.can anybody explain how could i check JAX WS version.I am using jdk1.5. and jboss 4.0.5 app server
[156 byte] By [patel123a] at [2007-11-27 9:32:36]
# 1
run either wsimport or wsgen with the -version option.
dkohlerta at 2007-7-12 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
thanks. well this is the version i got JAX-WS RI 2.0_03-b24-fcs. i have one more question does this version of JAX WS supports List interface.I mean can web service return list of objects?
patel123a at 2007-7-12 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Yes it does, but that version is over a year old. You should update to the latest version found at http://jax-ws.dev.java.net.
dkohlerta at 2007-7-12 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

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?

patel123a at 2007-7-12 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
I don't use Eclipse, however, it looks like it is tyring ot use JAX-RPC and not JAX-WS. You either need to get a JAX-WS plugin for eclipes or you can use NetBeans 5.5.1.
dkohlerta at 2007-7-12 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
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 22:51:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...