[Mapbender-dev] wfs gazetteer with umn mapserver wfs

Michael Schulz mschulz at webgis.de
Tue Jul 14 11:59:15 EDT 2009


Hi,

I have a strange problem when using umn mapserver as a wfs-server for
a gazetteer search. The problem is that the featuretype is announced
in get getCaps as

<Name>meinFeatureType</Name>.

 When actually searching and issueing the getfeature request, the
result is returned with featuremembers with the default ms namespace:

<gml:featureMember><ms:meinFeatureType
fid="meinFeatureType.007">...</gml:featureMember>.

The problem is now that in the gml classes, the returned gml is
accessed with the xpath function searching for the featuretype name as
recieved from the getCapabilities response and since this name has no
namespace it won't find the featuremembers...

Is this a mapserver wfs misconfiguration on my side (i tried with
wms_namespace_prefix ...) or a mapserver wfs bug or a mapbender bug?
When using geoserver the featuretype namespace is also returned in the
getcapabilities response.

Thanks for your hints ... Michael

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the Mapbender_dev mailing list