cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Coiffe" <bcoi...@inforsense.com>
Subject Problem with data binding (XJC)
Date Tue, 13 Nov 2007 16:22:36 GMT
Hi,

 

I have problems trying to use the Dynamic Client for the web service:
http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/efetch.wsdl.

It throws an exception that I copy-paste at the end of this email. I am
using cxf 2.0.1.

 

Is that something that could be fixed in future releases of XJC or that
could be already fixed in the next 2.0.3?

Thanks,

 

Benjamin

 

 

Caused by: java.lang.Exception: Error compiling schema from WSDL at
{http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/efetch.wsdl}: Property
"Value" is already defined.

      at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory$InnerErrorListener.
error(DynamicClientFactory.java:409)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.error(SchemaCompilerIm
pl.java:245)

      at
com.sun.tools.xjc.util.ErrorReceiverFilter.error(ErrorReceiverFilter.jav
a:61)

      at
com.sun.tools.xjc.util.ErrorReceiverFilter.error(ErrorReceiverFilter.jav
a:61)

      at com.sun.tools.xjc.ErrorReceiver.error(ErrorReceiver.java:66)

      at
com.sun.tools.xjc.reader.ModelChecker.checkPropertyCollision(ModelChecke
r.java:57)

      at
com.sun.tools.xjc.reader.ModelChecker.check(ModelChecker.java:43)

      at
com.sun.tools.xjc.reader.ModelChecker.check(ModelChecker.java:27)

      at
com.sun.tools.xjc.reader.xmlschema.BGMBuilder._build(BGMBuilder.java:145
)

      at
com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:77)

      at
com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:388)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.java:206)

      at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImp
l.java:66)

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message