code: protected void configureEndpointFactory(AbstractWSDLBasedEndpointFactory factory)
     {
        //Configure binding customization
        if (customization != null)
        {
           ReflectionServiceFactoryBean serviceFactory = factory.getServiceFactory();
           //customize default databinding (early pulls in ServiceFactory default databinding and configure it, as it's lazily loaded)
           serviceFactory.reset();
           DataBinding serviceFactoryDataBinding = serviceFactory.getDataBinding(true);
           configureBindingCustomization(serviceFactoryDataBinding, customization);
           serviceFactory.setDataBinding(serviceFactoryDataBinding);
           //customize user provided databinding (CXF later overrides the ServiceFactory databinding using the user provided one) 
           if (factory.getDataBinding() == null)
           {
              //set the endpoint factory's databinding to prevent CXF resetting everything because user did not provide anything
              factory.setDataBinding(serviceFactoryDataBinding);
           }
           else
           {
              configureBindingCustomization(factory.getDataBinding(), customization);
           }
        }
        //add other configurations here below
     }
docs: Configure the endpoint factory
  
  @param factory