Step 14: WFS configuration
Below you will find a short guide on how to upload a layer and publish it as WFS to another geGIS application. To this end we use the following structure
Configuration:
Tasks on PC1 :
PC1 will contain the layer that is published as WFS.
To this end an existing layer can be used or a new shapefile can be uploaded (see Step11: Your own data).
It is important to activate the layer as WFS after the feature type has been created. This is done by adding the element
Tasks on PC2 :
On PC2 the layer of PC1 is used through a WFS DataStore. This DataStore will set up the connection with the WFS server on PC1.
An example of a WFS DataStore configuration is available in catalog.xml. However, in this configuration the IP address should be replaced by the correct IP address of PC1.
After that, a feature type must be configured aswell.