Dear geonetwork developers,
I found the following thread from maillist:
http://n2.nabble.com/the-csw-action-%3A-Transaction-and-harvest.-td2019771.html#a2019771
But it seems that the trunk of the code seems haven’t implemented harvest and transaction operations yet.
The following code is from org.fao.geonet.kernel.csw.services.Harvest.java
public class Harvest extends AbstractOperation implements CatalogService
{
//---------------------------------------------------------------------------
//—
//— Constructor
//—
//---------------------------------------------------------------------------
public Harvest() {}
//---------------------------------------------------------------------------
//—
//— API methods
//—
//---------------------------------------------------------------------------
public String getName() { return “Harvest”; }
//---------------------------------------------------------------------------
public Element execute(Element request, ServiceContext context) throws CatalogException
{
throw new OperationNotSupportedEx(getName());
}
//---------------------------------------------------------------------------
public Element adaptGetRequest(Map<String, String> params)
{
Element request = new Element(getName(), Csw.NAMESPACE_CSW);
return request;
}
}
So could anyone tell me in which version these two operation will be supported? Or at least, I need a local API which can add or remove a resource.
Thank you!
Xiaoxi
Is there anyone can answer this questions?
Thank you!
On Fri, Feb 20, 2009 at 9:01 PM, Xiaoxi Zhang <zxx714@anonymised.com> wrote:
Dear geonetwork developers,
I found the following thread from maillist:
http://n2.nabble.com/the-csw-action-%3A-Transaction-and-harvest.-td2019771.html#a2019771
But it seems that the trunk of the code seems haven’t implemented harvest and transaction operations yet.
The following code is from org.fao.geonet.kernel.csw.services.Harvest.java
public class Harvest extends AbstractOperation implements CatalogService
{
//---------------------------------------------------------------------------
//—
//— Constructor
//—
//---------------------------------------------------------------------------
public Harvest() {}
//---------------------------------------------------------------------------
//—
//— API methods
//—
//---------------------------------------------------------------------------
public String getName() { return “Harvest”; }
//---------------------------------------------------------------------------
public Element execute(Element request, ServiceContext context) throws CatalogException
{
throw new OperationNotSupportedEx(getName());
}
//---------------------------------------------------------------------------
public Element adaptGetRequest(Map<String, String> params)
{
Element request = new Element(getName(), Csw.NAMESPACE_CSW);
return request;
}
}
So could anyone tell me in which version these two operation will be supported? Or at least, I need a local API which can add or remove a resource.
Thank you!
Xiaoxi
Hi,
http://n2.nabble.com/CSW—on-going-work-td2163081.html
Concerning the road map and the Geonetwork version integrating Transaction and Harvest Operation I have no idea for now.
HTH,
Mathieu
On Mon, Feb 23, 2009 at 7:38 AM, Xiaoxi Zhang <zxx714@anonymised.com> wrote:
Is there anyone can answer this questions?
Thank you!
On Fri, Feb 20, 2009 at 9:01 PM, Xiaoxi Zhang <zxx714@anonymised.com> wrote:
Dear geonetwork developers,
I found the following thread from maillist:
http://n2.nabble.com/the-csw-action-%3A-Transaction-and-harvest.-td2019771.html#a2019771
But it seems that the trunk of the code seems haven’t implemented harvest and transaction operations yet.
The following code is from org.fao.geonet.kernel.csw.services.Harvest.java
public class Harvest extends AbstractOperation implements CatalogService
{
//---------------------------------------------------------------------------
//—
//— Constructor
//—
//---------------------------------------------------------------------------
public Harvest() {}
//---------------------------------------------------------------------------
//—
//— API methods
//—
//---------------------------------------------------------------------------
public String getName() { return “Harvest”; }
//---------------------------------------------------------------------------
public Element execute(Element request, ServiceContext context) throws CatalogException
{
throw new OperationNotSupportedEx(getName());
}
//---------------------------------------------------------------------------
public Element adaptGetRequest(Map<String, String> params)
{
Element request = new Element(getName(), Csw.NAMESPACE_CSW);
return request;
}
}
So could anyone tell me in which version these two operation will be supported? Or at least, I need a local API which can add or remove a resource.
Thank you!
Xiaoxi
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
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
–
Mathieu Coudert
mcoudert@anonymised.com