This should work:

http://my/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=typenameWithoutPrefix&NAMESPACE=xmlns(http://my-namespace-uri)

Andreas.

On Wed, Apr 10, 2013 at 4:41 PM, Tobias Kirschke
<[email protected]> wrote:
> I need the namespace prefix to build a getFeature-Url.
>
> For example, I need the TYPENAME (lep:lsa_mlv_lep_zo_feature) in the
> following URL.
>
> http://www......de/ows/ws/wfs/GDI/?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lep:lsa_mlv_lep_zo_feature&SRSNAME=EPSG:31468
>
> How do I get the required information? Or is there another solution?
>
> Tobias.
>
>
>
> Am 10.04.2013 16:13, schrieb Andreas Hocevar:
>
> "world" is the correct name. You should not need the namespace prefix.
> What you usually need is the namespace uri, which you get from the
> namespace property of each record.
>
> Out of curiosity, why do you think you need the namespace prefix?
>
> Andreas.
>
> On Wed, Apr 10, 2013 at 1:51 PM, Tobias Kirschke
> <[email protected]> wrote:
>
> Hi,
>
> I use WfsCapabilitiesStore like in the example
> http://geoext.github.io/geoext2/examples/wfscapabilities/wfscapabilities.html
>
> So I get "world" as the featureType-Name, but I need the correct name
> "tows:world". What can I do? Thanks.
>
> Tobias
> _______________________________________________
> Users mailing list
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to