On Sat, Jun 2, 2012 at 4:15 AM, Andrea Aime <andrea.a...@geo-solutions.it>wrote:

> On Fri, Jun 1, 2012 at 10:32 PM, Gabriel Roldan <grol...@opengeo.org>wrote:
>
>> I think one way would be to port the wfs http handling to geotools'
>> HTTPClient. Then it should be easier to mock up HTTPClient and parse
>> whatever is meant to be sent as POST on the test case.
>> The wfs-ng module on my wfs-ng branch does that, and goes beyond that by
>> relying on geotools' AbstractOWSService (or whatever it was called) just as
>> the wms and wcs clients. Unfortunately its far from complete so I guess for
>> the sake of stability it would be easier to port the current wfs client?
>>
>
> Even in that case it would be more work than I can handle, the simple http
> server is more or less what I can
> afford (time on this one is quite limited).
> Unless we tag team and share the work, someone does the switch to
> HttpClient while I work on making
> the requests always valid in the two protocol implementations?
>

Gave it a shot: <https://github.com/groldan/geotools/tree/wfs_httpclient>

Feel free to try it out and use/change whatever is needed.
Cheers,
Gabriel

>
> Cheers
> Andrea
>
> --
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
>


-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to