You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Néstor Boscán <ne...@gmail.com> on 2015/07/31 21:37:31 UTC

CXF 2.5.2 Using wsdl2java I get Two classes have the same XML type name

Hi

I have a wsdl that I received from a third party application. I'm trying to
run wsdl2java using maven in an empty project with just the CXF
dependencies and I get:

Two classes have the same XML type name "{
http://www.huawei.com/bme/cbsinterface/arservices}RechargeRollBackRequest".
Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at <package>.<SomeObject>Request
this problem is related to the following location:
at generated.<SomeObject>Request

Now if I erase the classes in the generated package they are only
referenced in @XmlSeeAlso annotations. If I erase the classes and the
annotations the proxy instantiates.

Any ideas?

Regards,

Néstor