[mapguide-users] Consumption of WFS feature requests

Thomas M. Tuerke thomas.m.tuerke at autodesk.com
Tue Mar 28 17:33:18 EST 2006


Hi Matthias,

 

The descriptions your providing look like it could be a mismatch between
the OGC templates and the source code.  Are you getting the source and
building, or are these from the downloaded installs?

 

Here's a quick fix to suppress the warnings if you need to move forward,
but some further investigation is in order, because this could be
symptoms of something else amiss.

 

1. Look for the file Server/Wfs/OgcWfsServer.config.awd in your install.
Use a text editor (such as notepad, or vi or the like) to edit this
file. (Don't use a word processor, though!)

2. Look for the line that reads </Definitions> which is about half way
down the file.

3. Add the following statements before the </Definitions> element, so
that you have something that looks like this:

 

<Define item="Feature.Keywords"></Define>

<Define item="GetFeature.FeatureCollection"></Define>

</Definitions>

 

This should prevent the error messages from occurring, but like I said,
we should figure out why they're happening on your system in the first
place.

 

- Thomas

  _____  

From: Matthias Liechti 
Sent: Tuesday, March 28, 2006 2:07 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Consumption of WFS feature requests

 

Hi

I've successfully exposed some WMS layers from MGOS to the public. Now I
tried to publish a feature resource to the public through the WFS
interface. Unfortunately both getting the capabilities and requesting a
features failed. I've used the following Request parameters:

 

Get capabilities:

http://127.0.0.1/mapguide/mapagent/mapagent.fcgi?REQUEST=GETCAPABILITIES
&SERVICE=WFS

 

error message:

Reference to undefined entity 'Feature.Keywords'. Error processing
resource 'http://127.0.0.1/mapguide/mapagent/mapagent.fc...

      <Keyword>&Feature.Keywords;</Keyword>
----------------^

 

Get Feature:

http://127.0.0.1/mapguide/mapagent/mapagent.fcgi?SERVICE=WFS&VERSION=1.1
.0&REQUEST=GetFeature&TYPENAME=Data/zgn_f

 

error message:

Reference to undefined entity 'GetFeature.FeatureCollection'. Error
processing resource 'http://127.0.0.1/mapguide/mapagent...

   &GetFeature.FeatureCollection;
----^

Can anyone give me some hints to successfully set up WFS requests? Does
the consumption of WFS feautres already work in Map2007?

 

Thanks

Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060328/7d4d2138/attachment.html


More information about the Mapguide-users mailing list