# WFS and WMS Services

{% hint style="info" %}
WFS and WMS services consume JMap Web type sessions.&#x20;

Your license must contain JMap Web sessions if you want to deploy WFS or WMS services.

The [JMap Server Status](https://docs-jmapserver-lima.k2geospatial.com/e/administrator/jmap-server-administrator-manual/jmap-server/jmap-server-status) section contains more details about sessions.
{% endhint %}

## **WMS Service**

Web Map Service (WMS) is a standard set forth by the [Open Geospatial Consortium](http://www.opengeospatial.org/) that defines how client applications can obtain map images from a server that is compatible with the standard.

JMap Server can act as a WMS server. If you implement a WMS web service, other applications can query JMap Server via the WMS protocol for the selected project.

<table data-header-hidden><thead><tr><th width="174.5"></th><th></th></tr></thead><tbody><tr><td>Project</td><td>Select the JMap project that will be accessible via the WMS service.</td></tr><tr><td>Controlled access</td><td>Select this option if the WMS service must be secured through HTTP authentication. The selected project must allow anonymous access if this option is not selected.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="174.5"></th><th></th></tr></thead><tbody><tr><td><strong>Advanced</strong></td><td></td></tr><tr><td>Cross-Origin Resource Sharing</td><td>Check this box if the application should be embedded in a website whose domain name (DNS) is different from that of the application.</td></tr></tbody></table>

Once the service has been deployed, you can click on **Launch** to display a web page containing 2 hyperlinks:&#x20;

* The first one is the **getCapabilities** request you must provide to the applications that wish to query JMap’s WMS service.&#x20;
* The second one is an example of a **getMap** request that allows you to obtain a map image.

## **WFS Service**

Web Feature Service (WFS) is a standard presented by the [Open Geospatial Consortium](http://www.opengeospatial.org/) that defines how client applications can obtain vector data and its attributes (GML format) from a server that is compatible with WFS.

JMap Server can act as a WFS server. If you implement a WFS web service, other applications can query JMap Server via the WFS protocol for the selected project.

<table data-header-hidden><thead><tr><th width="171.5"></th><th></th></tr></thead><tbody><tr><td>Project</td><td>Select the JMap project that will be accessible via the WFS service.</td></tr><tr><td>Controlled access</td><td>Select this option if the WFS service must be secured through HTTP authentication. The selected project must allow anonymous access if this option is not selected.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="171.5"></th><th></th></tr></thead><tbody><tr><td><strong>Advanced</strong></td><td></td></tr><tr><td>Cross-Origin Resource Sharing</td><td>Check this box if the application should be embedded in a website whose domain name (DNS) is different from that of the application</td></tr></tbody></table>

Once the service has been deployed, you can click on **Launch** to display a web page containing a hyperlink towards the **getCapabilities** request you must provide to the applications that wish to query JMap’s WFS service.
