serverFactory.setEndpointName(cbEndpointName);
final List<AbstractServiceConfiguration> svcConfigs = serverFactory.getServiceFactory().getServiceConfigurations();
for (ListIterator<AbstractServiceConfiguration> it = svcConfigs.listIterator(); it.hasNext(); ) {
final AbstractServiceConfiguration cfg = it.next();
if (cfg instanceof DefaultServiceConfiguration) {
final AbstractServiceConfiguration ncfg = new CallbackDefaultServiceConfiguration(cbInfo);
it.set(ncfg);
}
}
if (useWsdlLocation) {
serverFactory.setWsdlLocation(wsdlLocation);