[Geoserver-users] Disable WMS on Specific workspace?

Oh my GOD, now i understand how it works.
I was thinking that ONLY checking/unchecking those checkboxes in “Edit workspace” page should be enough for enabling/disabling a W?S service on a workspace. But now, i understood that after checking those checkboxes, i have to go to Services>W?S page and select my workspace and disable W?S for my workpsace.
My mistake was that i didn’t noticed i can select a workspace in W?S settings page.

Thanks a lot James and Jonathan


From: “Passmore, James H.” jpass@anonymised.com
To: Saka Royban sakaroyban@anonymised.com
Sent: Friday, March 11, 2016 12:57 PM
Subject: RE: [Geoserver-users] Disable WMS on Specific workspace?

Hi Saka,

I’m not sure whether I understand your problem, it sounds to me like you just need to use the tools provided in the GUI, to edit a workspace.

Set up a workspace then when you’ve done this you can choose which services it supports any combination of WCS, WFS or WMS

I would disable the default service (not the default workspace) service too.

James

-----Original Message-----
From: Saka Royban [mailto:sakaroyban@anonymised.com]
Sent: Friday, March 11, 2016 7:41 AM
To: Jonathan Moules <jonathan-lists@anonymised.com>; geoserver
<geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Disable WMS on Specific workspace?

Thanks Jonathan
Let me change the way and ask another, similar question. I think it’s more
common.
I have some workspaces and I want to enable WMS on all and WFS on some
(I don’t wanna let users retrieve features from specific workspaces). How can
i disable WFS on a workspace, while WMS is enabled on those?

There is a check box for enabling/disabling WFS globally. Also there is
checkbox in “Edit workspace” which i couldn’t understand how it works.

Regards


From: Jonathan Moules <jonathan-lists@anonymised.com>
To: Saka Royban <sakaroyban@anonymised.com>
Cc: geoserver <geoserver-users@lists.sourceforge.net>
Sent: Thursday, March 10, 2016 4:31 PM
Subject: Re: [Geoserver-users] Disable WMS on Specific workspace?

Hi Saka,
I’m not sure there’s a good solution (though I could be wrong; someone will
hopefully chip in if I am).

The client has to have received a URL for your service from somewhere in
the first place (email, website, etc…). Rather than them getting the global
URL, you could arrange for them to get the applicable workspace-based
virtual service URL. The problem is that your requirement that they have
global access (to find out what is available) is directly contradictory.

The alternative is that you disable global services and serve your own custom
created GetCapabilities document using a fixed XML document (copy the
current one and edit it manually) and your webserver.
Cheers,
Jonathan

---- On Wed, 09 Mar 2016 12:20:31 +0000 Saka
Royban<sakaroyban@anonymised.com mailto:[sakaroyban@anonymised.com](mailto:sakaroyban@anonymised.com) > wrote

Hi Jonathan
I’d already read that document and now i read it once more. It
doesn’t feet my needs.
Suppose this scenario: A client connects to my server. He doesn’t
know anything about workspaces and layers loaded in GeoServer. So, he
makes a GetCapabilities request (to global service) to ask about offered
layers. Leaving global services enabled, he sees all workspaces and layers as
enabled and offerable by GeoServer WMS service.
I can’t disable global services, because i wanna tell client which
workspaces and layers are available on the server.

Regards

On Wednesday, March 9, 2016 2:21 PM, Jonathan Moules <jonathan-
lists@anonymised.com221… mailto:[jonathan-lists@anonymised.com..](mailto:jonathan-lists@anonymised.com) > wrote:

Hi Saka,
Virtual services should do most (all?) of what you want:
http://docs.geoserver.org/2.1.0/user/services/virtual-services.html

Cheers,
Jonathan

---- On Wed, 09 Mar 2016 06:16:20 +0000 Saka Royban
<sakaroyban@…54… mailto:[sakaroyban@anonymised.com](mailto:sakaroyban@anonymised.com) > wrote ----

Hi all
How can i disable WMS on some workspaces while remain it
enabled on others?
I also want those disabled workspaces not to appear on WMS
GetCapabilites.

Regards


Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/414
0_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net <mailto:Geoserver-

users@anonymised.comt>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.