This commit is contained in:
Lucio Lelii 2008-12-01 15:41:46 +00:00
parent 65189c089d
commit a62f8eb474
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import javax.xml.namespace.QName;
import javax.xml.rpc.ServiceException;
import org.gcube.common.core.contexts.GHNContext;
@ -73,7 +74,7 @@ public class ModelerService {
String eprToString;
try {
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);
} catch (SerializationException e) {
//logger.error("VDL Model Service: error serializing EPR");