Hi,

 

I think I found a bug in the Dynamic Client Factory. For the Web
Service:
http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils_lite.wsdl, it
fails to build the JAXB context and throws the following exception:

 

Caused by: java.lang.Exception: Unable to create JAXBContext for
generated packages: "java.lang" doesnt contain ObjectFactory.class or
jaxb.index

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:235)

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:145)

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(Dynami
cClientFactory.java:124)

      at
com.inforsense.webservicestudio.server.cache.ClientFactory.getClient(Cli
entFactory.java:85)

     at
com.inforsense.webservicestudio.server.HttpCxfImpl.getOperations(HttpCxf
Impl.java:47)

      ... 27 more

 

The Package list contains the following packages:

java.lang:gov.nih.nlm.ncbi.soap.eutils.esummary:gov.nih.nlm.ncbi.soap.eu
tils.esearch:java.io:gov.nih.nlm.ncbi.soap.eutils.egquery:gov.nih.nlm.nc
bi.soap.eutils.espell:gov.nih.nlm.ncbi.soap.eutils.einfo:generated:gov.n
ih.nlm.ncbi.soap.eutils.elink

 

It fails because of java.lang, java.io, and generated. I am using cxf
2.0.1.

I was looking for a similar bug in JIRA but could not find one. I would
be grateful if someone finds one and can send the ID.

 

Thanks,

 

Benjamin Coiffe

 

Reply via email to