5

In GeoServer, how can I serve two types of WFS from one server? Setting the type of the service is done once in global settings. Is it possible to have WFS from workspace A and WFS-T from workspace B?

5

You should be able to achieve this using a either Data/Layer or Service level security rules (they cannot be combined). See http://docs.geoserver.org/2.1.4/user/security/index.html for exact details, but something like this in layer permissions:

WorkspaceA.*.r=*
WorkspaceB.*.w=*

I haven't tried this out, so I'm afraid I can't tell whether GetCapabilities will pick the correct rules up, but I think this is what you're after.

1

In GeoServer 2.2.0 you should be able to configure the WFS in a different way for different workspaces, give it a try

0

A workaround could be, if you are using a database as datasource, publishing the table as WFS-T in workspace B, and publish an SQL view (select * from table) on the workspace A.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.