// TODO: remove it afterwards
if(userName != null) {
secProps.getETDSettings().getRequestedUserAttributes2().put("xlogin", new String[]{userName});
}
StorageFactoryClient sfc = new StorageFactoryClient(sfEpr, secProps);
if (log.isDebugEnabled()){
log.debug("Using storage factory at <"+sfc.getUrl()+">");
}
StorageClient sc = null;
try{
sc=sfc.createSMS(getCreateSMSDocument());
String addr=sc.getEPR().getAddress().getStringValue();
log.info(addr);
}catch(Exception ex){