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

Configure WSDL generation to ignore jaxb.index and ObjectFactory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.6.3
    • Component/s: JAXB Databinding
    • Labels:
    • Environment:

      Linux JDK 1.6

    • Estimated Complexity:
      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

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              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