01-08-2019 03:48 AM
I am using Geospatial Portal 2018 and Geonetwork Metadata Catalogue.
I want to use Search for data (metadata) function from portal to make search for metadata from my geonetwork.
I have registered CSW from Geonetwork in Geospatial Portal instance, but any search returns no results.
Is there somebody who know what can be a problem with metadata search.
01-08-2019 11:35 AM
Please enable DEBUG logging in Portal's web.config (log4net section), reload the Portal and try the request again. You should see the request sent by Portal and its response in the log afterwards. This should give you some idea what's happening in the background.
01-09-2019 04:23 AM
Thanks for tip Jan,
I have enabled DEBUG logging in Portal's web.config.
According to log file Metadata serach is forbiden.
2019-01-09 12:15:07,665  WARN Intergraph.WebSolutions.Core.SDIPortal.CSW.MetadataSearch.AdvancedMetadataSearchHandler [(null)] - CSW: Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at Intergraph.WebSolutions.Core.SDIPortal.CSW.MetadataSearch.AdvancedMetadataSearchResultsReader.GetAdvancedMetadataSearchResultsReader(IDictionary`2 searchParams, IDictionary`2 cswParams, String typeName, String outputSchema) at Intergraph.WebSolutions.Core.SDIPortal.CSW.MetadataSearch.AdvancedMetadataSearchHandler.ProcessRequest(HttpContext context)
I will investigate what could be a reason.
01-09-2019 05:05 AM
Few lines before this WARN there should be the actual request and which method was used for it (GET vs. POST). It may be, that the CSW provider doesn't accept one of them.