On Mon, Nov 1, 2010 at 8:44 AM, Andrea Aime
<[email protected]> wrote:
> On Mon, Nov 1, 2010 at 3:30 AM, Justin Deoliveira <[email protected]> 
> wrote:
>> Makes sense. So I guess just a check that if a response returns no supported
>> output formats it should simply be skipped and removed to the candidate
>> response list?
>
> Indeed, that would be the plan

Looked into this a bit more and things weren't so straighforward....
so for a number
of operations there is no such a thing as an outputformat parameter,
so many responses do
not even bother to specify it.
The "hello" service used in the tests falls into this category, but
even the non fictional
TransactionResponse does not have the output format.

The answer to this for configurable output formats such as the ogr2ogr one is
to always return a negative answer to the "canHandle" call when they don't
have any possible way to handle the response.
The API was there, I just overlooked it :-)

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to