Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7200

wadl2java does not see generated classes with jaxb:nameXmlTransform

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.9
    • 3.2.2, 3.1.15
    • JAXB Databinding
    • None
    • Unknown

    Description

      wadl2java does not see generated classes with jaxb:nameXmlTransform enabled

      E.g. If i want to add suffix DTO to all generated classes, wadl2java stops finding them
      Example config
      <jaxb:schemaBindings>
      <jaxb:nameXmlTransform>
      <jaxb:elementName suffix="DTO" />
      <jaxb:typeName suffix="DTO" />
      <jaxb:anonymousTypeName suffix="DTO"/>
      </jaxb:nameXmlTransform>
      </jaxb:schemaBindings>

      Without this setting i see generated method
      ...
      Test list();
      ...
      With this setting expected to see
      TestDTO list();
      but I see
      Response list();

      This is example project
      https://github.com/slavb18/namexmltransform

      schemas here https://github.com/slavb18/namexmltransform/tree/master/src/main/resources/schemas/test

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            slavb18 Vjacheslav Borisov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: