final WSDLObject<PortType> pt = wd.getWSDLObject(PortType.class, new QName(ns, name));
if(pt == null)
throw new ContributionResolveException("Couldn't find " + name);
final WSDLInterface nwi = ec.wif.createWSDLInterface(pt.getElement(), wd, c.getModelResolver(), null);
nwi.setWsdlDefinition(wd);
nwi.resetDataBinding(DOMDataBinding.NAME);
return nwi;
} catch(Exception e) {
throw new RuntimeException(e);
}
}