git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7335 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a62f8eb474
commit
a93a1414a6
|
@ -73,13 +73,11 @@ public class ModelerService {
|
|||
dateTo=new Date(request.getEndTime());
|
||||
String eprToString;
|
||||
try {
|
||||
System.out.println(getResource().getEPR());
|
||||
eprToString = ObjectSerializer.toString(getResource().getEPR(), new QName(ModelerContext.getPortTypeContext().getNamespace(), "ModelResourceReference"));
|
||||
//logger.debug("EPR: "+eprToString);
|
||||
} catch (SerializationException e) {
|
||||
//logger.error("VDL Model Service: error serializing EPR");
|
||||
logger.error("VDL Model Service: error serializing EPR",e);
|
||||
e.printStackTrace();
|
||||
throw new GCUBEFault(e);
|
||||
}
|
||||
|
||||
|
@ -89,7 +87,6 @@ public class ModelerService {
|
|||
|
||||
} catch (Exception e) {
|
||||
logger.error(" "+e.getMessage());
|
||||
e.printStackTrace();
|
||||
throw new GCUBEFault(e);
|
||||
}
|
||||
|
||||
|
@ -203,7 +200,9 @@ public class ModelerService {
|
|||
}catch(Exception e) {//logger.error("VDL Model: error on DB");
|
||||
throw new GCUBEFault(e);}
|
||||
|
||||
return XMLUtil.PrepareCollectionXML(res, relatedCollection);
|
||||
String toReturn= XMLUtil.PrepareCollectionXML(res, relatedCollection);
|
||||
System.out.println(toReturn);
|
||||
return toReturn;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue