git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7334 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
65189c089d
commit
a62f8eb474
|
@ -8,6 +8,7 @@ import java.util.ArrayList;
|
||||||
import java.util.Hashtable;
|
import java.util.Hashtable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import javax.xml.namespace.QName;
|
||||||
import javax.xml.rpc.ServiceException;
|
import javax.xml.rpc.ServiceException;
|
||||||
|
|
||||||
import org.gcube.common.core.contexts.GHNContext;
|
import org.gcube.common.core.contexts.GHNContext;
|
||||||
|
@ -73,7 +74,7 @@ public class ModelerService {
|
||||||
String eprToString;
|
String eprToString;
|
||||||
try {
|
try {
|
||||||
System.out.println(getResource().getEPR());
|
System.out.println(getResource().getEPR());
|
||||||
eprToString = ObjectSerializer.toString(getResource().getEPR());
|
eprToString = ObjectSerializer.toString(getResource().getEPR(), new QName(ModelerContext.getPortTypeContext().getNamespace(), "ModelResourceReference"));
|
||||||
//logger.debug("EPR: "+eprToString);
|
//logger.debug("EPR: "+eprToString);
|
||||||
} catch (SerializationException e) {
|
} catch (SerializationException e) {
|
||||||
//logger.error("VDL Model Service: error serializing EPR");
|
//logger.error("VDL Model Service: error serializing EPR");
|
||||||
|
|
Loading…
Reference in New Issue