Hi,
Is this message from geoserver-users related in any way or is it just
coincidence that it deals with application/xml and text/xml?
Dmitriy wrote:
"Yes Christian, j2ee filter is in the rest filter chain settings. In any case,
I found a solution by changing the header Content-type to application/xml
instead of text/xml. Now everything works."
-Jukka Rahkonen-
Lähettäjä: Justin Deoliveira [mailto:jdeol...@opengeo.org]
Lähetetty: 5. syyskuuta 2013 17:13
Vastaanottaja: Andrea Aime
Kopio: Geoserver-devel
Aihe: Re: [Geoserver-devel] WFS 1.1 exception content type: application/xml
(should it be text/xml?)
Hmmm... not really that I can recall. If anything it would probably be
something to ensure cite tests pass. But it also may just be a default that was
chosen and the cite tests don't exercise it.
I guess i would go ahead and change it and run the cite tests to verify nothing
breaks. And if so then go ahead with the change.
On Thu, Sep 5, 2013 at 4:52 AM, Andrea Aime
<andrea.a...@geo-solutions.it<mailto:andrea.a...@geo-solutions.it>> wrote:
Hi,
I've noticed that GeoServer now returns a content type of "application/xml"
in OWS10ServiceExceptionHandler
https://github.com/geoserver/geoserver/blob/master/src/ows/src/main/java/org/geoserver/ows/OWS10ServiceExceptionHandler.java#L95
However, looking at the OWS 1.0 specification I see no mention of the
application/xml format, and while I haven't seen any specific requirement one
way or the other, there is an example caps document citing:
<Parameter name="ExceptionFormat">
<Value>text/xml</Value>
<Value>text/plain</Value>
<Value>text/html</Value>
</Parameter>
Do you know where the current mime type choice is coming from?
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax: +39 0584 1660272<tel:%2B39%200584%201660272>
mob: +39 339 8844549<tel:%2B39%20%C2%A0339%208844549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel