CWsdlFile parentWsdlFile = null;
if( parentWsdlLocator != null && parentWsdlLocator.length() > 0 ) {
parentWsdlFile = createCWsdlFile(parentWsdlLocator, null, null);
}
CWsdlFileUploadResult uploadResult =
infoProvider.uploadWsdl(user, password, wsdlFileToUpload, parentWsdlFile);
CWsdlFile[] existingDependencies = uploadResult.getExistingDependencies();
String[] missingDependencies = uploadResult.getMissingWsdlFiles();
List<ServerFile> existingDependenciesList = Lists.newArrayList();
if( existingDependencies != null && existingDependencies.length > 0 ) {
for( CWsdlFile existingDep : existingDependencies ) {
ServerFile file = ServerFile.fromPathAndHash(existingDep.getWsdlLocator(), existingDep.getMD5());