Ciao Amiala, I might be quoting myself, but this email should go to the geoserver-manager mailing list :) (separate project). Check the project page here: https://github.com/geosolutions-it/geoserver-manager/wiki#mailing-list-for-users Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. ==
Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Tue, Aug 13, 2013 at 3:29 PM, Amiala <[email protected]> wrote: > Dear all, > I need to update layer using REST methods. > I have posted layer to GeoServer using publishDBLayer method, which send a > POST request. > Then I created method updateDBLayer in GeoServerRESTPublisher class which do > exactly the same as publishDBLayer method, but insteed of calling > HTTPUtils.postXml, I called HTTPUtils.putXml. > I copy this logic from GeoServerRESTPublisher.updateStyle. > > And I got the following exception: > HTTPUtils:send:315 - Bad response: code[405] msg[Method Not Allowed] > url[http://host_name:8080/geoserver/rest/workspaces/My_workspace/datastores/ds_My_dataStore/featuretypes] > method[PutMethod]: > > My question is: > How to update layer using GeoServerRESTPublisher? > Should I do it in another way? > Best regards, Amiala > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Update-layer-using-REST-methods-tp5072300.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
