Closed acheype closed 10 years ago
hi. Your request is wrong, you use the typename "gmd:MD_metadata" but the prefix gmd is not bound to a namespace declaration. You must add xmlns:gmd="http://www.isotc211.org/2005/gmd" to the root mark. I agree that the error message is not very helpfull, i'll try to improve it. Other implementation are more permissive about invalid request than constellation.
Thank you for your answer Guilhem. Unfortunately this is not "my" request, this is the default Geoportal's one. Cf the XSLT used to make the request : https://github.com/Esri/geoportal-server/blob/master/geoportal/src/gpt/search/profiles/CSW_2.0.2_APISO_GeoNetwork_GetRecords_Request.xslt
To try, I've added the xmlgs:gmd property and yes, it's better. However, the AMMA-CATCH server still return an error : java.lang.UnsupportedOperationException: Not supported yet.
With the other servers I listed behind, the request works only with the Guyamapa's one. I can guess it hasn't been developed on the older versions but it's now OK with new ones (as we can see with the project Guyamapa), isn't it ?
After a GetCapabilities, Geoportal send some GetRecords POST requests to harvest a CSW catalog. However, your CSW webservice doesn't recognize the "typeNames" value of the request.
a POST request example :
the server answer :
This request works correctly with other catalogs based on Geoportal or GeoNetwork apps.
I initially made these tests with the 0.9-AMMA-CATCH-2.0-SNAPSHOT constellation version. But I've also tried with other Geomatys projects and I still have the same issue. There are the webservices I tried (I can't know the version) : http://www.ose-guyamapa.org/guyamapa-cstl/WS/csw/guyamapa http://reflecs.cnes.fr/WS/csw/default http://demo.mdweb-project.org/mdweb/WS/csw/default http://geonetcab.mdweb-project.org/WS/cswiso/default