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

Configure WSDL generation to ignore jaxb.index and ObjectFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.6.3
    • JAXB Databinding
    • Linux JDK 1.6

    • Moderate

    Description

      I would like the ability to disable the addition of all classes not directly referenced in the WSDL from being added to the wsdl. A small patch to org.apache.cxf.jaxb.JAXBDataBinding will satisfy this requirement and will not affect existing users as the configuration will be false by default. I will be submitting a patch to provide this functionality against 2.6.2

      This can be configured on the endpoint via a property:

      <jaxws:properties>
      <entry key="jaxb.scanPackages" value="false" />
      </jaxws:properties>

      Attachments

        1. JAXBDataBinding.java.patch
          2 kB
          Jason Pell

        Activity

          People

            dkulp Daniel Kulp
            pellcorp Jason Pell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified