}
} else {
//Incase wsdl file is missing we can obtain it from the @WebServiceClient annotation
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
Class serviceInterfaceClass = classloader.loadClass(serviceRef.getServiceInterface());
WSDolSupport dolSupport = Globals.getDefaultHabitat().getComponent(WSDolSupport.class);
if (dolSupport!=null) {
dolSupport.setServiceRef(serviceInterfaceClass, serviceRef);
}
}
if( serviceRef.hasMappingFile() ) {
String mappingFileUri = serviceRef.getMappingFileUri();
File mappingFile = new File(getModuleLocation(moduleDesc), mappingFileUri);