Hi,
I am a newbie to Geonetwork. I tried following 2 approaches to insert metadata into GeoNetwork catalog. Nothing worked for me.
Approach 1:
I wrote Java code that uses HTTP Post menthod to login & to insert metadata into Geonetwork server. But the response code that I get back is 302 (redirection) and not 200 as expected.
Please wait…
Patientez s’il vous plaît…
Bitte warten…
Un momento per favore…
Approach 2:
I tried to use ‘geonetwork-manager’ but again I am not able to login or insert metadata.
https://code.google.com/p/geonetwork-manager/
‘Insert a Metadata’ example in the link does not work as it fails with the error message 'could not log in"
Please let me know what am I doing wrong.
Note: I am testing GeoNetwork as user admin
–
Divya C
www.dealbitte.com
On Fri, Nov 8, 2013 at 3:02 PM, divzee Chandrashakher
<divzeeblog@anonymised.com>wrote:
Hi,
I am a newbie to Geonetwork. I tried following 2 approaches to insert
metadata into GeoNetwork catalog. Nothing worked for me.
*Approach 1:*
I wrote Java code that uses HTTP Post menthod to login & to insert
metadata into Geonetwork server. But the response code that I get back is
302 (redirection) and not 200 as expected.
*<html response>*
Please wait...
Patientez s'il vous plaît...
Bitte warten...
Un momento per favore...
Hi,
How do you do it? If you log in but then you lose the cookie or http
headers, geonetwork will not recognize you as the one who logged in before.
What geonetwork version are you using?
*Approach 2:*
I tried to use 'geonetwork-manager' but again I am not able to login or
insert metadata.
https://code.google.com/p/geonetwork-manager/
'Insert a Metadata' example in the link does not work as it fails with the
error message 'could not log in"
Please let me know what am I doing wrong.
I don't know that project, maybe it is for an old version of geonetwork.
Note: I am testing GeoNetwork as user admin
<http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk>
The user admin can do anything, so this part is ok.
Hi,
On Fri, Nov 8, 2013 at 3:35 PM, María Arias de Reyna <delawen@anonymised.com>wrote:
*Approach 2:*
I tried to use 'geonetwork-manager' but again I am not able to login or
insert metadata.
https://code.google.com/p/geonetwork-manager/
'Insert a Metadata' example in the link does not work as it fails with
the error message 'could not log in"
Please let me know what am I doing wrong.
I don't know that project, maybe it is for an old version of geonetwork.
In fact, that link you point to, says that that repository is deprecated
and you should use this one:
https://github.com/geosolutions-it/geonetwork-manager
And that repository hasn't been updated for almost a year, which may
probably explain why it does not work for you if you are using the latest
stable version of geonetwork.