[
https://issues.apache.org/jira/browse/CXF-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510065
]
jimma commented on CXF-762:
---------------------------
Try this customization for the same name schema element :
<xs:complexType name="USAddress">
<xs:annotation> <xs:appinfo>
<jaxb:class name="MyAddress" />
</xs:appinfo></xs:annotation>
<xs:sequence>...</xs:sequence>
</xs:complexType>
Do not forget to put the namespace prefix xmlns:jaxb=
xmlns:jxb="http://java.sun.com/xml/ns/jaxb" in your wsdl
> Can it be available to skip following JAXB error about same name by user
> option?
> ---------------------------------------------------------------------------------
>
> Key: CXF-762
> URL: https://issues.apache.org/jira/browse/CXF-762
> Project: CXF
> Issue Type: Wish
> Components: JAXB Databinding
> Affects Versions: 2.0
> Environment: NA
> Reporter: ChangYoung Jeong
> Fix For: 2.0.1
>
>
> Can it be available to skip following JAXB error about same name by user
> option?
> WSDLToJava Error : Thrown by JAXB : A class/interface with the same name
> "com.sa
> p.document.sap.rfc.functions.ZSFINP01" is already in use. Use a class
> customizat
> ion to resolve this conflict.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.