[Users] LayerUploadPanel 405 Method nota llowed
pablo zader
pzader at gmail.com
Thu Oct 9 19:05:28 CEST 2014
Thank you. already solved the problem. I needed to install the plugin
imports in geoserver.
Regards
Pablo
2014-10-09 13:19 GMT-03:00 Christian Mayer <Christian.Mayer at isb-ag.de>:
> Hi,
>
>
>
> This is not a GeoExt problem this simply means that your http method
> ‚POST‘ is not supported by the API. You can check the GeoServer REST-API
> documentation [1] for that.
>
>
>
> cheers,
>
> Chris
>
>
>
> [1] http://docs.geoserver.org/2.5.x/en/user/rest/index.html
>
>
>
> *Von:* users-bounces at geoext.org [mailto:users-bounces at geoext.org] *Im
> Auftrag von *pablo zader
> *Gesendet:* Freitag, 26. September 2014 18:14
> *An:* Users at geoext.org
> *Betreff:* [Users] LayerUploadPanel 405 Method nota llowed
>
>
>
> Hi list
>
>
>
> I have problems when I want to load a tiff or shape by the plugin
> LayerUploadPanel.js of GeoExplorer.
>
> The error here:
>
> POST http://localhost:9080/geoserver/rest/imports 405 (Method Not
> Allowed)
>
>
>
>
>
> The code in LayerUploadPanel.js
>
>
>
> Ext.Ajax.request({
>
> url: this.getUploadUrl(),
>
> method: "POST",
>
> jsonData: jsonData,
>
> success: function(response) {
>
> this._import = response.getResponseHeader("Location");
>
> this.optionsFieldset.expand();
>
> form.submit({
>
> url: this._import + "/tasks?expand=all",
>
> waitMsg: this.waitMsgText,
>
> waitMsgTarget: true,
>
> reset: true,
>
> scope: this
>
> .....
>
>
>
> With geoserver 2.5.2 and 2.4.8 not work! (take the war from
> geoserver.org)
>
>
>
> How I can solve this problem? It is a problem of geoserver, but there
> will be some way to solve client side programmatically.
>
>
>
> Thanks
>
>
>
> 2014-09-26 13:12 GMT-03:00 pablo zader <pzader at gmail.com>:
>
> Hi list
>
>
>
> I have problems when I want to load a tiff or shape by the plugin
> LayerUploadPanel.js of GeoExplorer.
>
> The error here:
>
> POST http://localhost:9080/geoserver/rest/imports 405 (Method Not
> Allowed)
>
>
>
>
>
> The code in LayerUploadPanel.js
>
>
>
> Ext.Ajax.request({
>
> url: this.getUploadUrl(),
>
> method: "POST",
>
> jsonData: jsonData,
>
> success: function(response) {
>
> this._import = response.getResponseHeader("Location");
>
> this.optionsFieldset.expand();
>
> form.submit({
>
> url: this._import + "/tasks?expand=all",
>
> waitMsg: this.waitMsgText,
>
> waitMsgTarget: true,
>
> reset: true,
>
> scope: this
>
> .....
>
>
>
> With geoserver 2.5.2 and 2.4.8 not work! (take the war from
> geoserver.org)
>
>
>
> How I can solve this problem? It is a problem of geoserver, but there
> will be some way to solve client side programmatically.
>
>
>
> Thanks
>
>
>
> Pablo
>
>
>
>
>
> --
>
> *Pablo J. Zader*
>
> *Lic. en Cs. de la Computación*
>
> *pablo.zader at gmail.com <pablo.zader at gmail.com>*
>
>
>
>
>
> *"Los Grandes Hombres hablan sobre ideas... Los Hombres Promedio hablan
> sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
>
> *del libro Matemática estas ahi? A. Paenza "*
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
--
*Pablo J. Zader*
*Lic. en Cs. de la Computación*
*pablo.zader at gmail.com <pablo.zader at gmail.com>*
*"Los Grandes Hombres hablan sobre ideas... Los Hombres Promedio hablan
sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
*del libro Matemática estas ahi? A. Paenza "*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20141009/6d18aa46/attachment.htm
More information about the Users
mailing list