[Geoserver-devel] Problems with REST on Geoserver 2.0

Hi all,

Recently, I have upgraded to Geoserver 2.0, and I encountered a problem when I tried to create feature type via REST API. With Geoserver 1.7, when I create feature type via REST API, it is enabled by default. But unfortunately it is not enabled by default in Geoserver 2.0. Beside I put true in the xml but it still didn’t work. Is it Geoserver 2.0 bug or I have done something wrong?

Cheers,


:slight_smile:

Hi,

(This post is better suited to the users list, you will get a better answer there as this is the developer list)

We will need a bit more info about the problem. When you try to upload the new feature type do you get any errors on the console or in the log?

-Justin

Sophy Eung wrote:

Hi all,

Recently, I have upgraded to Geoserver 2.0, and I encountered a problem when I tried to create feature type via REST API. With Geoserver 1.7, when I create feature type via REST API, it is enabled by default. But unfortunately it is not enabled by default in Geoserver 2.0. Beside I put <enabled>true</enabled> in the xml but it still didn't work. Is it Geoserver 2.0 bug or I have done something wrong?

Cheers,

--
:slight_smile:

------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.