log.info("Response " + responseDocument.xmlText());
return responseDocument;
}
public GetOGCEResourceResponseDocument getOGCEResource(GetOGCEResourceDocument input) throws XregistryException {
log.info("Request Received " + input.xmlText());
GetOGCEResource resource = input.getGetOGCEResource();
GetOGCEResourceResponseDocument responseDocument = GetOGCEResourceResponseDocument.Factory
.newInstance();
String parentTypedID = resource.getParentTypedID();
if(parentTypedID == null || parentTypedID.trim() == "" )
{
parentTypedID = XregistryConstants.DEFAULTPARENT;
}
responseDocument.addNewGetOGCEResourceResponse().setResourceAsStr(registryImpl.getOGCEResource(findUserDN(),
resource.getResourceID(), resource.getResourceType(), parentTypedID));
log.info("Response " + responseDocument.xmlText());
return responseDocument;
}