Hartmut Noack wrote:
Am 12.12.2013 05:43, schrieb Rahkonen Jukka:
> Hi,
>
> If you have WFS service activated you can read the schema of the layer
> with WFS DescribeFeatureType.
>
http://demo.opengeo.org/geoserver/wfs?service=WFS&version=1.0.0&reques
> t=DescribeFeatureType&typename=topp:statesNow
>
I tried that directly in the browser and it works OK.I tried that with PHP/ curl without success...
Only possibility is that you are doing it wrong with your code. If curl sends the request then Geoserver will send an answer. Test from command line
curl "http://demo.opengeo.org/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typename=topp:states"
-Jukka Rahkonen-