Are the feature types in different workspaces? If so the two layers should
be accessible under different names:

/rest/layers/ws1:myLayer.xml
/rest/layers/ws2:myLayer.xml

Basically by prefixing the workspace name. Although I do think i remember an
existing but in which an entity that linked to the layer was not using the
prefixed name.

-Justin

On Sun, Sep 19, 2010 at 3:06 PM, Adam Ratcliffe <[email protected]> wrote:

> Hi,
>
> We would like to support multiple customers via a single GeoServer instance
> where each customer has their own workspace.
>
> We create new customer workspaces and contained feature types via the REST
> interface.  When a feature type is created a layer is implicitly created by
> GeoServer.  This is fine except that if 2 customers create a feature type
> with the same name the layer resources created will share the same URI which
> is problematic if we wish to then delete one of these layers later on.
>
> Is there any solution to this problem other than adding a customer-specific
> prefix to the name of each feature type created?
>
> Cheers
> Adam
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to