beautypg.com

Pitney Bowes MapXtreme User Manual

Page 395

background image

Chapter 22: Web Feature Service

Configuring a WFS Server

MapXtreme v7.1

402

Developer Guide

2. Register the tables that the WFS serves by creating a Table element for each table. The value for

the id must match the value for . You can
include the tables in any order.

3. In the , modify the MYPATH variable to reflect the actual path to your

data.
The following is a portion of the WFSSample.xml that identifies two tables of features.

USA
Title for usa
Abstract for USA
Keywords for USA

USA
MYPATH\USA.TAB


US_HIWAY
Title for US_HIWAY
Abstract for US_HIWAY
Keywords for US_HIWAY

US_HIWAY
MYPATH\US_HIWAY.TAB

4. If your WFS will be hosting data that is stored on a RDBMS, specify and

elements, following the example below:

sqlserver2k
DRIVER={SQL
Server};DATABASE=YOURDB;Server=YOURSERVER;UID=YOURUSER;PWD=YOURPASSWORD;Q
uotedID=No;Trusted_Connection=No;Network=DBMSSOCN;Address=YOURSERVER,YOUR
SERVERPORT

...

MySQLServerTable
Title for MySQLServerTable
Abstract for MySQLServerTable

wfs:Abstract>

Keywords for MySQLServerTable

wfs:Keywords>