You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Norbert Kiss (JIRA)" <ji...@apache.org> on 2017/06/22 07:43:00 UTC

[jira] [Created] (CXF-7423) Wrong @XmlElement namspace generated from wsdl

Norbert Kiss created CXF-7423:
---------------------------------

             Summary: Wrong @XmlElement namspace generated from wsdl
                 Key: CXF-7423
                 URL: https://issues.apache.org/jira/browse/CXF-7423
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.7.13
         Environment: cxf-codegen-plugin version 2.7.13
            Reporter: Norbert Kiss


Wrong namespace generated from the attached wsdl. The problem is in the generated GetT4DataResponseContent.java file.

@XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "name"
    })
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2017-06-21T04:57:52+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
    public static class Nameofuser {

        @XmlElement(name = "Name", {color:#f6c342}namespace = "http://eeszt.gov.hu/ns/iam/ws/IAMService/ActivationMessages/v1"{color}, required = true)
        @Generated(value = "com.sun.tools.xjc.Driver", date = "2017-06-21T04:57:52+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
        protected Name name;
{color:#f6c342}colored text{color}

The Name field XmlElement annotation has wrong namespace. Maybe it is a JAXB bug. Thanks for the help.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)