}
// Remove '@' charactor from the username, if it contains
String userdir = MashupUtils.filterUsername(username);
// Composing the proper location to copy the artifact
MashupArchiveManupulator archiveManupulator = new MashupArchiveManupulator();
for (JSServiceUploadData tempData : jsServiceDataList) {
fileName = tempData.getFileName();
String shortFileName = fileName.substring(0, fileName.lastIndexOf('.'));
archiveManupulator.deploySharedService(userdir, shortFileName, tempData.getDataHandler(), axisConfig);
}
} catch (IOException e) {
String msg = "Error occured while uploading the Javascript Service "
+ fileName;