if(parentTypedID == null || parentTypedID.trim() == "" )
{
parentTypedID = XregistryConstants.DEFAULTPARENT;
}
registryImpl.registerOGCEResource(userDN, resource.getResourceID(),resource.getResourceName(), resource.getResourceType(),resource.getResourceDesc(), resource.getResourceDocument(), parentTypedID);
AddOGCEResourceResponseDocument responseDocument = AddOGCEResourceResponseDocument.Factory.newInstance();
responseDocument.addNewAddOGCEResourceResponse();
log.info("Response " + responseDocument.xmlText());
return responseDocument;
}