[GeoNetwork-devel] How to use mef.import service?

Hi all,

I am working on importing metadata to GN. It's said that the best option is
to use metadata records in MEF format. However, I found in the dev
documentation that "how - to" for MEF Services is poorly documented and far
less detailed than that for any other Service.

I couldn't figure out how to make this service work correctly for my case.
Here is an example metadata that I used for import to GN:
/var/lib/tomcat6/webapps/geonetwork/xml/schemas/iso19115/sample-data/iso-19115.mef

The documentation asks to use mefFile as a simgle parameter containing the
MEF information.

I figured out an example use of the service as follows
http:///var/lib/tomcat6/webapps/geonetwork/xml/schemas/iso19115/sample-data/iso-19115.mef
http://localhost:8080/geonetwork/srv/en/mef.import?mefFile=/var/lib/tomcat6/webapps/geonetwork/xml/schemas/iso19115/sample-data/iso-19115.mef

This was giving me an error "<error id="error"/>".

Could anyone give me an idea of how to use mef.import please? Thanks in
advance.

Cheers,
Alex

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-use-mef-import-service-tp6946616p6946616.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.