// By this stage the URI should have been copied from the WSDL port and
// should have run through the binding URI builder.
//String uri = computeActualURI(wsBinding, port);
String uri = wsBinding.getURI();
((SOAPAddress)newExt).setLocationURI(uri);
newPort.addExtensibilityElement(newExt);
} else if (extension instanceof SOAP12Address) {
def.addNamespace("SOAP12", "http://schemas.xmlsoap.org/wsdl/soap12/");
try {
newExt = def.getExtensionRegistry().createExtension(
Port.class, WSDLDefinitionGenerator.SOAP12_ADDRESS);