[GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork Server.
I think that the best option is to do a POST petition to /geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option does.
This POST petition would include:
   data -> XML String
   group -> id of a user group in geonetwork
   schema -> iso19115 or other (Can we include more schemas?)
   validate

Do you think this is the best option to insert metadata from an external application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can i do this?

I looked for some documentation about how to access to the Geonetwork's CS-W interface and did some tests, but I couldn't access, how can i do this?

Thanks

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de Arturo
Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
   data -> XML String
   group -> id of a user group in geonetwork
   schema -> iso19115 or other (Can we include more schemas?)
   validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

dear Arturo,
On Wed, Mar 21, 2007 at 12:11:48PM +0100, Arturo Beltran Fonollosa wrote:

This POST petition would include:
   data -> XML String
   group -> id of a user group in geonetwork
   schema -> iso19115 or other (Can we include more schemas?)

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

As a longtime lurker around GN I am just starting to figure this out
myself, looking both at existing RESTful interfaces and at the
provision of custom or cut-down profiles for metadata. From svn:

$:~/metadata/geonetwork/trunk/web/xml/schemas$ ls
dublin-core fgdc-std iso19115 iso19139

I suppose that, in order to do the insert, you must log in first,
how can i do this?

I found the following doc of Andrea's useful in describing the
HTTP POST interface for harvesting (e.g. pull, not push) and it
describes the login and logout calls - are these generic?
http://csi.cgiar.org/geonetwork/documents/harvesting.pdf

Very different from CSW2's Harvest() as i understand it, which is a
client push interface, but is not supported in the GN implementation.
(Would any clients use it if it was?)

Hi Arturo,

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
   data -> XML String
   group -> id of a user group in geonetwork
   schema -> iso19115 or other (Can we include more schemas?)
   validate

Do you think this is the best option to insert metadata from an external
application?

Maybe the xml.metadata.insert is the best candidate for now. It is the same
as metadata.insert but without the xsl transformation. The response is
returned in xml.

We are working on a set of xml services to do this kind of tasks.

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

There are no schemas.

I suppose that, in order to do the insert, you must log in first, how can
i do this?

Use xml.user.login. You have to provide username and password parameters.

Cheers,
Andrea

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de Arturo
Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Arturo,

That´s the address I use to connect to a "GeoNetwork 2.1.0 alpha1" catalogue
using gvSig and selecting CSW as the connection protocol.

http://localhost:7070/geonetwork/srv/en/csw

although the 7070 port depends on the GN port you used for the GN
installation.

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: Arturo Beltran Fonollosa [mailto:fonollos@anonymised.com]
Enviado el: jueves, 22 de marzo de 2007 9:54
Para: Walter Barbera
CC: geonetwork-devel@lists.sourceforge.net
Asunto: RE: [GeoNetwork-devel] Metadata insert

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de

Arturo

Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

On Thu, 22 Mar 2007, Walter Barbera wrote:

Hi Arturo,

That´s the address I use to connect to a "GeoNetwork 2.1.0 alpha1" catalogue
using gvSig and selecting CSW as the connection protocol.

Maybe GeoNetwork v2.0.3 (latest stable) doesn't implement this service.
Anybody knows if in this version is it implemented or not?

http://localhost:7070/geonetwork/srv/en/csw

although the 7070 port depends on the GN port you used for the GN
installation.

Of course, I use the 8080 port (Tomcat)

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: Arturo Beltran Fonollosa [mailto:fonollos@anonymised.com]
Enviado el: jueves, 22 de marzo de 2007 9:54
Para: Walter Barbera
CC: geonetwork-devel@lists.sourceforge.net
Asunto: RE: [GeoNetwork-devel] Metadata insert

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de

Arturo

Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Arturo, CSW is only available in 2.1

You could download the beta 1 released Monday by Andrea.

For test purposes, you could also use this dev node
http://dev.sandre.eaufrance.fr/gnthesaurus/srv/en/csw

Login is admin / admin

Ciao. Francois

-----Message d'origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] De la part de Arturo
Beltran Fonollosa
Envoyé : jeudi 22 mars 2007 10:14
À : Walter Barbera
Cc : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Metadata insert

On Thu, 22 Mar 2007, Walter Barbera wrote:

Hi Arturo,

That´s the address I use to connect to a "GeoNetwork 2.1.0 alpha1"
catalogue using gvSig and selecting CSW as the connection protocol.

Maybe GeoNetwork v2.0.3 (latest stable) doesn't implement this service.
Anybody knows if in this version is it implemented or not?

http://localhost:7070/geonetwork/srv/en/csw

although the 7070 port depends on the GN port you used for the GN
installation.

Of course, I use the 8080 port (Tomcat)

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: Arturo Beltran Fonollosa [mailto:fonollos@anonymised.com] Enviado
el: jueves, 22 de marzo de 2007 9:54
Para: Walter Barbera
CC: geonetwork-devel@lists.sourceforge.net
Asunto: RE: [GeoNetwork-devel] Metadata insert

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de

Arturo

Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a
GeoNetwork Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert"
option does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an
external application?

Which are exactly the schemas or DTDs that geonetwork uses to
validate the XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how
can i do this?

I looked for some documentation about how to access to the
Geonetwork's CS-W interface and did some tests, but I couldn't
access, how can i do this?

Thanks

---------------------------------------------------------------------
---- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share

your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DE
VDEV _______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Arturo,
GN 2.0 does not support CSW. CSW has been added to version 2.1, now in beta 1. I strongly suggest to work against 2.1 to avoid additional migration requirements when you are ready to go live. Also, GN 2.1 uses ISO19115/19139 formatted metadata which is may be a better option anyway :slight_smile: There is still ISO19115 support too in GN 2.1
Ciao,
Jeroen

On Mar 22, 2007, at 9:53 AM, Arturo Beltran Fonollosa wrote:

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@...117...

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de Arturo
Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Thu, 22 Mar 2007, Jeroen Ticheler wrote:

Hi Arturo,
GN 2.0 does not support CSW. CSW has been added to version 2.1, now in beta 1. I strongly suggest to work against 2.1 to avoid additional migration requirements when you are ready to go live. Also, GN 2.1 uses ISO19115/19139 formatted metadata which is may be a better option anyway :slight_smile: There is still ISO19115 support too in GN 2.1

OK, then this is the problem, my version doesn't implement this service :wink:
Thanks

Ciao,
Jeroen

On Mar 22, 2007, at 9:53 AM, Arturo Beltran Fonollosa wrote:

On Wed, 21 Mar 2007, Walter Barbera wrote:

You can access GN via

URL example: http://localhost:7070/geonetwork/srv/en/csw

Yes, but the result is:

Service not found.

Service not found : csw

I have GeoNetwork v2.0.3 . I must install this sevice separately?

Thanks

Walter BARBERA

I+D Project Engineer

GTD SISTEMAS DE INFORMACIÓN

Pg. Garcia Fària, 17 E-08005 Barcelona
Tel.: +34 934 939 300 Fax: +34 934 939 334
www.gtd.es - walter.barbera@anonymised.com

-----Mensaje original-----
De: geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] En nombre de Arturo
Beltran Fonollosa
Enviado el: miércoles, 21 de marzo de 2007 12:12
Para: geonetwork-devel@lists.sourceforge.net
Asunto: [GeoNetwork-devel] Metadata insert

Hi,

I'm programming a gvSIG extension that inserts metadata in a GeoNetwork
Server.
I think that the best option is to do a POST petition to
/geonetwork/srv/es/metadata.insert like the "XML Metadata Insert" option
does.
This POST petition would include:
  data -> XML String
  group -> id of a user group in geonetwork
  schema -> iso19115 or other (Can we include more schemas?)
  validate

Do you think this is the best option to insert metadata from an external
application?

Which are exactly the schemas or DTDs that geonetwork uses to validate the
XMLs? Can you send me the schemas?

I suppose that, in order to do the insert, you must log in first, how can
i do this?

I looked for some documentation about how to access to the Geonetwork's
CS-W interface and did some tests, but I couldn't access, how can i do
this?

Thanks

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks for this usefull information.

I couldn't find any documentation about the available services in GeoNetwork.

Maybe publishing some documents describing this services would be usefull, then people wouldn't disturb you anymore for this kind of questions :wink:

Can you tell me how I can obtain a list of groups that belongs to a user (id, description)?