Pitney Bowes MapXtreme User Manual

Page 397

Advertising
background image

Chapter 22: Web Feature Service

Configuring a WFS Server

MapXtreme v7.1

404

Developer Guide

4. In the same Properties dialog, under the Directory Security tab, click the Edit button at the top

right. In the Authentication Method dialog box, select the Anonymous Access check box. This
allows users of your WFS service to skip the username/password authentication process. Click
OK twice and close the IIS window.

5. Test your setup by sending a

GetCapabilities

request from a web browser. In the address box

type:
http://localhost/wfs/GetFeature.ashx?REQUEST=GetCapabilities&SERVICE=WFS&V
ERSION=1.0.0
substituting your web server for localhost. If you have set an Alias to your web server, be sure
to include that in your URL. For example:
http://localhost/My_WFS/GetFeature.ashx?REQUEST=GetCapabilities&SERVI
CE=WFS&VERSION=1.0.0
A successful test will return a web page similar to the illustration below. If the capabilities are not
returned, review your configuration files to ensure everything has been entered correctly. Since
you are creating the configuration files by hand, It is very easy to include typos or have missing
tags.

Advertising