# 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](/e/administrator/jmap-server-administrator-manual/jmap-server/jmap-server-status.md) 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-jmapserver-lima.k2geospatial.com/e/administrator/jmap-server-administrator-manual/jmap-server-applications/deployment-classical-jmap-applications/wfs-and-wms-services.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
