[Geoserver-users] WFS-T Update "could not locate FeatureStore" in GeoServer 1.7.2

Hi,

I'm updating from Geoserver 1.6.2 to 1.7.2.
When i execute a WFS-T Update on Demo Request of each geoserver i've got:

1.6.2:
<wfs:TransactionResult>
  <wfs:Status>
    <wfs:SUCCESS/>
  </wfs:Status>
</wfs:TransactionResult>

1.7.2:
org.geoserver.wfs.WFSException: Could not locate FeatureStore for
'{http://www.xxx.pt/gis\}GIR_ROUTE'

The request is:

<wfs:Transaction version="1.0.0" service="WFS"
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:gis="http://www.xxx.pt/gis&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;

<wfs:Update typeName="gis:GIR_ROUTE">
  <wfs:Property>
    <wfs:Name>LOCATION</wfs:Name>
      <wfs:Value>
        <gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#27492&quot;&gt;
          <gml:coordinates decimal="." cs="," ts="
">-43904.5112915639,108115.606062018 -43911.99896847832,108121.96278238787
-43899.92941626033,108128.40991288087</gml:coordinates>
        </gml:LineString>
      </wfs:Value>
  </wfs:Property>
  <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
    <ogc:FeatureId fid="GIR_ROUTE.1388751"/>
  </ogc:Filter>
</wfs:Update>
</wfs:Transaction>

Can you give some hint?

Thanks,
T Vieira
--
View this message in context: http://www.nabble.com/WFS-T-Update-"could-not-locate-FeatureStore"-in-GeoServer-1.7.2-tp21973483p21973483.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

Can you possibly include the entire stack trace, it should be on the console somewhere, it will give us an idea of exactly where the problem is occurring.

Past that the only thing I can think of is possibly a namespace typo? Can you verify that the application namespace you are using: http://www.xxx.pt/gis, matches the one configured in geoserver under namespaces.

Thanks,

-Justin

T. Vieira wrote:

Hi,

I'm updating from Geoserver 1.6.2 to 1.7.2.
When i execute a WFS-T Update on Demo Request of each geoserver i've got:

1.6.2:
<wfs:TransactionResult>
  <wfs:Status>
    <wfs:SUCCESS/>
  </wfs:Status>
</wfs:TransactionResult>

1.7.2:
org.geoserver.wfs.WFSException: Could not locate FeatureStore for
'{http://www.xxx.pt/gis\}GIR_ROUTE'

The request is:

<wfs:Transaction version="1.0.0" service="WFS" xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:gis="http://www.xxx.pt/gis&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;

<wfs:Update typeName="gis:GIR_ROUTE">
  <wfs:Property>
    <wfs:Name>LOCATION</wfs:Name>
      <wfs:Value>
        <gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#27492&quot;&gt;
          <gml:coordinates decimal="." cs="," ts="
">-43904.5112915639,108115.606062018 -43911.99896847832,108121.96278238787
-43899.92941626033,108128.40991288087</gml:coordinates>
        </gml:LineString>
      </wfs:Value>
  </wfs:Property>
  <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
    <ogc:FeatureId fid="GIR_ROUTE.1388751"/>
  </ogc:Filter>
</wfs:Update>
</wfs:Transaction>

Can you give some hint?

Thanks,
T Vieira

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hi Justin,

I've forgot the /gis in namespace configuration.
The Url was only http://www.xxx.pt.

Thanks for your help.
It works.

T Vieira

Justin Deoliveira-6 wrote:

Hi,

Can you possibly include the entire stack trace, it should be on the
console somewhere, it will give us an idea of exactly where the problem
is occurring.

Past that the only thing I can think of is possibly a namespace typo?
Can you verify that the application namespace you are using:
http://www.xxx.pt/gis, matches the one configured in geoserver under
namespaces.

Thanks,

-Justin

T. Vieira wrote:

Hi,

I'm updating from Geoserver 1.6.2 to 1.7.2.
When i execute a WFS-T Update on Demo Request of each geoserver i've got:

1.6.2:
<wfs:TransactionResult>
  <wfs:Status>
    <wfs:SUCCESS/>
  </wfs:Status>
</wfs:TransactionResult>

1.7.2:
org.geoserver.wfs.WFSException: Could not locate FeatureStore for
'{http://www.xxx.pt/gis\}GIR_ROUTE'

The request is:

<wfs:Transaction version="1.0.0" service="WFS"
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:gis="http://www.xxx.pt/gis&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd&quot;&gt;

<wfs:Update typeName="gis:GIR_ROUTE">
  <wfs:Property>
    <wfs:Name>LOCATION</wfs:Name>
      <wfs:Value>
        <gml:LineString
srsName="http://www.opengis.net/gml/srs/epsg.xml#27492&quot;&gt;
          <gml:coordinates decimal="." cs="," ts="
">-43904.5112915639,108115.606062018
-43911.99896847832,108121.96278238787
-43899.92941626033,108128.40991288087</gml:coordinates>
        </gml:LineString>
      </wfs:Value>
  </wfs:Property>
  <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
    <ogc:FeatureId fid="GIR_ROUTE.1388751"/>
  </ogc:Filter>
</wfs:Update>
</wfs:Transaction>

Can you give some hint?

Thanks,
T Vieira

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/WFS-T-Update-"could-not-locate-FeatureStore"-in-GeoServer-1.7.2-tp21973483p21980101.html
Sent from the GeoServer - User mailing list archive at Nabble.com.