On Wed May 13 2009 4:39:49 pm Niels Bo wrote:
> Hi
>
> I am getting an error generating a client for this wsdl:
> http://api.rkd.reuters.com/schemas/wsdl/SignificantDevelopments_1_HttpAndRK
>DToken.wsdl
>
> [INFO] Thrown by JAXB : Property "Value" is already defined. Use
> <jaxb:proper
> ty> to resolve this conflict. at line 14 column 33 of schema
> jar:file:/C:/.m2/re
> pository/com/sun/xml/bind/jaxb-xjc/2.1.9/jaxb-xjc-2.1.9.jar!/com/sun/xml/xs
>om/im pl/parser/datatypes.xsd
>
> Any hints for solving this?
>
> Niels

You would need to use a jaxb binding to rename the "Value" property of the RIC 
type in the SignificantDevelopments_1.xsd schema.   Basically, anything that 
extends a simple type (like xsd:string) will already have a "value" field as 
that simple type is mapped to that property name.   Thus, if you add an 
attribute called "value", you need a jaxb binding file to remap it to a new 
name.

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to