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?

2c/
Gabriel

On Wed, May 30, 2012 at 10:38 PM, Jody Garnett <[email protected]>wrote:

> However following on that thread you mentioned there is this very
> little http server
> that apparently can do the job in a very straightforward way:
> http://mvnrepository.com/artifact/org.simpleframework/simple
>
> http://www.simpleframework.org/doc/tutorial/tutorial.php
>
> I'll just have to pay attention to testing over different possible
> ports to avoid
> having the test fail on a busy tcp port and the trick is done.
> Thanks!
>
> Teach me to point Andrea in the direction of an evil trick.
>
> Jody
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>


-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to