On Fri, Mar 1, 2013 at 10:41 PM, Imran Rajjad <[email protected]> wrote:

> Dear List,
>
> I have recently tried GS 2.2.4 and 2.2.5 and I am unable to get JSON
> respone against a wfs request encapsulated inside callback function .
>
> Tried the following URL :
>
> http://localhost:8082/geoserver/ows?service=WFS&request=GetFeature&version=1.0.0&typeName=topp:states&BBOX=-75.102613,40.212597,-72.361859,41.512517,EPSG:4326&outputFormat=json&format_options=callback:setData
>
> Server log shows that format_options were received at geoserver`s end but
> did not take effect on response, has there been any changes or am I missing
> something because it seemed to work up till  the release 2.2 from September
> 2012.
>

JSONP support has been disabled by default since it is perceived as a
security issue:
http://docs.geoserver.org/latest/en/user/services/wfs/outputformats.html
Look in the docs, there is a system variable you can set to enable it.

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
fax: +39 0584 1660272
mob: +39  339 8844549

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

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to