<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-2"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    To answer my own question: the response is created in the gmgml
    namespace so OpenLayers cannot interpret it. It can be solved by
    turning on the Feature Collection Namespace in WFS option in
    Geomedia before publishing the WFS service.<br>
    <br>
    Probably it can be solved by implementing gmgml namespace in
    OpenLayers as well, does it worth a new feature ticket?<br>
    <br>
    BR,<br>
    Attila<br>
    <br>
    2010.06.22. 20:36 keltezéssel, BERÉNYI Attila írta:
    <blockquote cite="mid:4C210290.2000300@airdesignstudio.hu"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-2">
      Hi,<br>
      <br>
      I've facing a problem regarding the GetFeature function again, and
      I'm
      not quite sure whether it is an OpenLayers bug or the server
      application fails. <br>
      So, I've a WMS and a WFS service served by Geomedia WebMap:
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://webmap.viamap.hu/ol/getFeatureTest.html">http://webmap.viamap.hu/ol/getFeatureTest.html</a><br>
      The GetFeature gets a correct response from the WFS service, e.g.:<br>
      <div selected="true" role="tabpanel" class="netInfoResponseText
        netInfoText ">
        <pre role="list"><code class="wrappedText focusRow" role="listitem">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
</code><code class="wrappedText focusRow" role="listitem">&lt;gmgml:FeatureCollection xmlns=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://www.intergraph.com/geomedia/gml">"http://www.intergraph.com/geomedia/gml"</a> xmlns:gml="<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opengis">http://www.opengis</a></code><code class="wrappedText focusRow" role="listitem">.net/gml" xmlns:gmgml=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://www.intergraph.com/geomedia/gml">"http://www.intergraph.com/geomedia/gml"</a> xmlns:xsi=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a></code><code class="wrappedText focusRow" role="listitem"> xsi:schemaLocation='<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.intergraph.com/geomedia/gml">http://www.intergraph.com/geomedia/gml</a> <a moz-do-not-send="tr
ue" class="moz-txt-link-freetext" href="http://webmap.viamap.hu/testWFS/request.aspx">http://webmap.viamap.hu/testWFS/request.aspx</a></code><code class="wrappedText focusRow" role="listitem">?request=DescribeFeatureType&amp;amp;VERSION=1.1.0&amp;amp;SERVICE=WFS&amp;amp;OUTPUTFORMAT=text/xml;subtype=gml</code><code class="wrappedText focusRow" role="listitem">/3.1.1'&gt;&lt;gml:boundedBy&gt;&lt;gml:Envelope srsName="EPSG:23700"&gt;&lt;gml:lowerCorner&gt;660000 236000&lt;/gml:lowerCorner</code><code class="wrappedText focusRow" role="listitem">&gt;&lt;gml:upperCorner&gt;666000 240000&lt;/gml:upperCorner&gt;&lt;/gml:Envelope&gt;&lt;/gml:boundedBy&gt;&lt;gml:featureMember&gt;&lt;gmgml</code><code class="wrappedText focusRow" role="listitem">:szelvenyhalo gml:id="szelvenyhalo.2676"&gt;&lt;gmgml:szelvenyszam&gt;65-421&lt;/gmgml:szelvenyszam&gt;&lt;gmgml:felmeres</code><code class="wrappedText focusRow" role="listitem">&gt;1997&lt;/gmgml:felmeres&gt;&lt;gmgml:ID&gt;2676&lt;/gmgml:I
D&gt;&lt;gmgml:Geometry&gt;&lt;gml:Polygon srsName="EPSG:23700"&gt;&lt;gml</code><code class="wrappedText focusRow" role="listitem">:exterior&gt;&lt;gml:LinearRing&gt;&lt;gml:posList srsDimension="2"&gt;660000 236000 660000 240000 666000 240000 666000</code><code class="wrappedText focusRow" role="listitem"> 238000 666000 236000 660000 236000 &lt;/gml:posList&gt;&lt;/gml:LinearRing&gt;&lt;/gml:exterior&gt;&lt;/gml:Polygon&gt;&lt;/gmgml</code><code class="wrappedText focusRow" role="listitem">:Geometry&gt;&lt;/gmgml:szelvenyhalo&gt;&lt;/gml:featureMember&gt;&lt;/gmgml:FeatureCollection&gt;</code></pre>
      </div>
      although the result cannot be processed, because of the following
      error:<br>
      <pre>obj.attributes is undefined</pre>
      <pre><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://webmap.viamap.hu/ol/lib/OpenLayers-2.9.1/lib/OpenLayers/Format/GML/Base.js">http://webmap.viamap.hu/ol/lib/OpenLayers-2.9.1/lib/OpenLayers/Format/GML/Base.js</a></pre>
      <pre>Line 397</pre>
      Is it an OpenLayers bug?<br>
      <br>
      BR,<br>
      <br>
      Attila<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>