binding.setPortType(portType);
binding.setQName(bqname);
bindingNames.add(bname);
mapBindingToInterface(portType.getQName().getLocalPart(), bname);
BindingType bindingType = null;
addCorbaTypeMap(def);
try {
bindingType = (BindingType)extReg
.createExtension(Binding.class, CorbaConstants.NE_CORBA_BINDING);
bindingType.setRepositoryID(WSDLToCorbaHelper.REPO_STRING
+ binding.getPortType().getQName().getLocalPart().replace('.', '/')
+ WSDLToCorbaHelper.IDL_VERSION);
binding.addExtensibilityElement(bindingType);
} catch (WSDLException ex) {