Hi Stephen,
Try adding "&service=WFS" to the request, it's a mandatory field.



 ==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Lorenzo Pini
Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Jan 30, 2014 at 8:49 PM, Stephen Crawford <[email protected]> wrote:

> Hi All,
>
> I'm using GS 2.4.0. When I do a wfs request for a full data set,
> everything works OK:
>
> wfs?version=2.0&request=GetFeature&typeName=cei:farms
>
> But if I try to define which attribute i want, like this:
>
> wfs?version=2.0&request=GetFeature&typeName=cei:farms&propertyName=the_geom
>
> I get this error:
>
> java.lang.ClassCastException: java.lang.String cannot be cast to
> java.util.Collection
> java.lang.String cannot be cast to java.util.Collection
>
> Any thoughts?
>
> Thanks,
> Steve
>
> --
> Stephen Crawford
> Center for Environmental Informatics
> The Pennsylvania State University
>
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to