Pitney-bowes MapXtreme Uživatelský manuál Strana 396

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 640
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 395
Chapter 22: Web Feature Service
Configuring a WFS Server
MapXtreme v7.1 403 Developer Guide
<mxp:DataSourceDefinitionSet>
<mxp:DBDataSourceDefinition id="MySQLServerTable">
<mxp:DataSourceName>MySQLServerTable</mxp:DataSourceName>
<mxp:ConnectionMember>
<mxp:ConnectionName>my_sqlserver2000_advserver</mxp:ConnectionName>
</mxp:ConnectionMember>
<mxp:DBQuery>
<mxp:Query>select * from MySQLServerTable</mxp:Query>
</mxp:DBQuery>
<mxp:DBDataSourceMetadata/>
</mxp:DBDataSourceDefinition>
</mxp:DataSourceDefinitionSet>
</mxp-wfs:Table>
Step 3: Configuring and Testing the WFS Server
Once you have edited the Web.config and WFSSample.xml files, you must register your WFS server
with Internet Information Services and finally, test your setup.
1. Right-click on your WFS folder (for example, c:\wfs) and choose Sharing and Security. From the
Web Sharing tab, choose the Share this folder radio button. If you wish to set an alias for your
web server, click the Add button.
2. Open IIS (From the Start menu > Control Panel > Administrative Tools > Internet Information
Services). Expand the Default Web Site and locate your WFS server (by folder name or by alias,
if you set one).
3. Right-click on the Web site and choose Properties. Under the ASP.NET tab, choose 2.0.50727
from the drop-down list for the ASP.NET version (The MapXtreme assemblies are compiled
under the 2.0 Framework).
Zobrazit stránku 395
1 2 ... 391 392 393 394 395 396 397 398 399 400 401 ... 639 640

Komentáře k této Příručce

Žádné komentáře