Deegree 3 WFS Capabilities Issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Deegree 3 WFS Capabilities Issue

Debasish Sahu-2
Hi,

While checking out the WFS capabilties for version 1.0.0 , the tags are returned with the wfs namespace whereas it is not in GeoServer response.

Is there a way to get rid of the namespace in the capabilities response ?

I think in version 1.0.0 the wfs namespace should not be returned 



--
Thanks and Warm Regards
Debasish Sahu

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

_______________________________________________
deegree-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-devel
Reply | Threaded
Open this post in threaded view
|

Re: Deegree 3 WFS Capabilities Issue

Markus Schneider-4-3
Hi,

the GetCapabilities response produced by the deegree 3 WFS is definitely
valid (and a client should be able to cope with it). It can be validated
against the corresponding XML schema and the deegree 3 WFS passes all
WFS CITE tests (WFS 1.0.0 + 1.1.0).

In general, a client that gets a WFS 1.0.0 response *must* expect any
kind of namespace prefix, as long as it is correctly bound to
"http://www.opengis.net/wfs":

<wfs:WFS_Capabilities xmlns:wfs="http://www.opengis.net/wfs" [...]

<WFS_Capabilities xmlns="http://www.opengis.net/wfs" [...]

<xyz:WFS_Capabilities xmlns:xyz="http://www.opengis.net/wfs" [...]

That said, we aim for maximum client interoperability with deegree 3.
Therefore, deegree 3.1 uses the default namespace binding that you
expect in order to simplify the output. If you're not afraid of missing
documentation and bugs, you may check out a pre-release of deegree 3.1
[1,2].

Best regards,
Markus

[1]
http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.war
[2]
http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.zip

Am 01.04.2011 13:57, schrieb Debasish Sahu:

> Hi,
>
> While checking out the WFS capabilties for version 1.0.0 , the tags
> are returned with the wfs namespace whereas it is not in GeoServer response.
>
> Is there a way to get rid of the namespace in the capabilities response ?
>
> I think in version 1.0.0 the wfs namespace should not be returned
>
>
>
> --
> Thanks and Warm Regards
> Debasish Sahu
>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>
>
>
> _______________________________________________
> deegree-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-devel

--
l a t / l o n  GmbH
Aennchenstrasse 19                 53177 Bonn, Germany
phone ++49 +228 18496-0            fax ++49 +228 18496-29
http://www.lat-lon.de              http://www.deegree.org
Follow deegree on Twitter: http://twitter.com/deegree_org


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

_______________________________________________
deegree-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-devel

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Deegree 3 WFS Capabilities Issue

Hoang Dam
Hi Markus,

The size of the response xml file is bigger in version 3.1 than that in version 3.0.  The "xmlns:gml" name space is defined at the beginning of the xml file, for example, it's in the <wfs:FeatureCollection> of a GetFeature request) in version 3.0, but it's included in every gml tag in version 3.1.   It also holds true for application defined name space.

Are there any compelling reasons of doing that?  Could it be possible to revert back to 3.0.x style?
Thanks -H

Date: Mon, 4 Apr 2011 14:36:52 +0200
From: [hidden email]
To: [hidden email]
Subject: Re: [deegree-devel] Deegree 3 WFS Capabilities Issue

Hi,

the GetCapabilities response produced by the deegree 3 WFS is definitely
valid (and a client should be able to cope with it). It can be validated
against the corresponding XML schema and the deegree 3 WFS passes all
WFS CITE tests (WFS 1.0.0 + 1.1.0).

In general, a client that gets a WFS 1.0.0 response *must* expect any
kind of namespace prefix, as long as it is correctly bound to
"http://www.opengis.net/wfs":

<wfs:WFS_Capabilities xmlns:wfs="http://www.opengis.net/wfs" [...]

<WFS_Capabilities xmlns="http://www.opengis.net/wfs" [...]

<xyz:WFS_Capabilities xmlns:xyz="http://www.opengis.net/wfs" [...]

That said, we aim for maximum client interoperability with deegree 3.
Therefore, deegree 3.1 uses the default namespace binding that you
expect in order to simplify the output. If you're not afraid of missing
documentation and bugs, you may check out a pre-release of deegree 3.1
[1,2].

Best regards,
Markus

[1]
http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.war
[2]
http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.zip

Am 01.04.2011 13:57, schrieb Debasish Sahu:

> Hi,
>
> While checking out the WFS capabilties for version 1.0.0 , the tags
> are returned with the wfs namespace whereas it is not in GeoServer response.
>
> Is there a way to get rid of the namespace in the capabilities response ?
>
> I think in version 1.0.0 the wfs namespace should not be returned
>
>
>
> --
> Thanks and Warm Regards
> Debasish Sahu
>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>
>
>
> _______________________________________________
> deegree-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-devel


--
l a t / l o n GmbH
Aennchenstrasse 19 53177 Bonn, Germany
phone ++49 +228 18496-0 fax ++49 +228 18496-29
http://www.lat-lon.de http://www.deegree.org
Follow deegree on Twitter: http://twitter.com/deegree_org


------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ deegree-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-devel
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

_______________________________________________
deegree-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-devel
Reply | Threaded
Open this post in threaded view
|

Re: Deegree 3 WFS Capabilities Issue

Markus Schneider-4-3
Hi Hoang,

Am 04.04.2011 17:26, schrieb Hoang Dam:

> The size of the response xml file is bigger in version 3.1 than that in
> version 3.0.  The "xmlns:gml" name space is defined at the beginning of
> the xml file, for example, it's in the <wfs:FeatureCollection> of a
> GetFeature request) in version 3.0, but it's included in every gml tag
> in version 3.1.   It also holds true for application defined name space.
>
> Are there any compelling reasons of doing that?  Could it be possible to
> revert back to 3.0.x style?

XML generation has not been optimized yet for 3.1. We will do so for the
final release and throw out all unnecessary bindings.

Best regards,
Markus

>
> |Thanks -H
> |
>
>
> Date: Mon, 4 Apr 2011 14:36:52 +0200
> From: [hidden email]
> To: [hidden email]
> Subject: Re: [deegree-devel] Deegree 3 WFS Capabilities Issue
>
> Hi,
>  
> the GetCapabilities response produced by the deegree 3 WFS is definitely
> valid (and a client should be able to cope with it). It can be validated
> against the corresponding XML schema and the deegree 3 WFS passes all
> WFS CITE tests (WFS 1.0.0 + 1.1.0).
>  
> In general, a client that gets a WFS 1.0.0 response *must* expect any
> kind of namespace prefix, as long as it is correctly bound to
> "http://www.opengis.net/wfs":
>  
> <wfs:WFS_Capabilities xmlns:wfs="http://www.opengis.net/wfs" [...]
>  
> <WFS_Capabilities xmlns="http://www.opengis.net/wfs" [...]
>  
> <xyz:WFS_Capabilities xmlns:xyz="http://www.opengis.net/wfs" [...]
>  
> That said, we aim for maximum client interoperability with deegree 3.
> Therefore, deegree 3.1 uses the default namespace binding that you
> expect in order to simplify the output. If you're not afraid of missing
> documentation and bugs, you may check out a pre-release of deegree 3.1
> [1,2].
>  
> Best regards,
> Markus
>  
> [1]
> http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.war
> [2]
> http://artefacts.deegree.org/libs-releases-local/org/deegree/deegree-webservices/3.1-pre3/deegree-webservices-3.1-pre3.zip
>  
> Am 01.04.2011 13:57, schrieb Debasish Sahu:
>> Hi,
>>
>> While checking out the WFS capabilties for version 1.0.0 , the tags
>> are returned with the wfs namespace whereas it is not in GeoServer response.
>>
>> Is there a way to get rid of the namespace in the capabilities response ?
>>
>> I think in version 1.0.0 the wfs namespace should not be returned
>>
>>
>>
>> --
>> Thanks and Warm Regards
>> Debasish Sahu
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Create and publish websites with WebMatrix
>> Use the most popular FREE web apps or write code yourself;
>> WebMatrix provides all the features you need to develop and
>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>
>>
>>
>> _______________________________________________
>> deegree-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/deegree-devel
>  
>  
> --
> l a t / l o n  GmbH
> Aennchenstrasse 19                 53177 Bonn, Germany
> phone ++49 +228 18496-0            fax ++49 +228 18496-29
> http://www.lat-lon.de              http://www.deegree.org
> Follow deegree on Twitter: http://twitter.com/deegree_org
>  
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix Use the most popular FREE web
> apps or write code yourself; WebMatrix provides all the features you
> need to develop and publish your website.
> http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________ deegree-devel mailing
> list [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-devel
>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>
>
>
> _______________________________________________
> deegree-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/deegree-devel

--
l a t / l o n  GmbH
Aennchenstrasse 19                 53177 Bonn, Germany
phone ++49 +228 18496-0            fax ++49 +228 18496-29
http://www.lat-lon.de              http://www.deegree.org
Follow deegree on Twitter: http://twitter.com/deegree_org


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

_______________________________________________
deegree-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/deegree-devel

signature.asc (270 bytes) Download Attachment