<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Hi list</span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><div>I have problems when I want to load a tiff or shape by the plugin LayerUploadPanel.js of GeoExplorer.<br></div><div>The error here:</div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap">POST <a href="http://localhost:9080/geoserver/rest/imports" title="http://localhost:9080/geoserver/rest/imports" target="_blank" style="color:rgb(84,84,84)">http://localhost:9080/geoserver/rest/imports</a> 405 (Method Not Allowed)</span><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"> </span><br></div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"><br></span></div>The code in LayerUploadPanel.js </div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Ext.Ajax.request({<div> url: this.getUploadUrl(),</div><div> method: "POST",</div><div> jsonData: jsonData,</div><div> success: function(response) {</div><div><span style="white-space:pre-wrap">                         </span> this._import = response.getResponseHeader("Location");</div><div> this.optionsFieldset.expand();<br></div><div> form.submit({<br></div><div> url: this._import + "/tasks?expand=all",</div><div> waitMsg: this.waitMsgText,</div><div> waitMsgTarget: true,</div><div> reset: true,</div><div> scope: this</div><div> .....</div><div><br></div><div><div>With geoserver 2.5.2 and 2.4.8 not work! (take the war from <a href="http://geoserver.org/" target="_blank">geoserver.org</a>)</div><div><br></div></div><div>How I can solve this problem? It is a problem of geoserver, but there will be some way to solve client side programmatically.<br></div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-26 13:12 GMT-03:00 pablo zader <span dir="ltr"><<a href="mailto:pzader@gmail.com" target="_blank">pzader@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Hi list</span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><div>I have problems when I want to load a tiff or shape by the plugin LayerUploadPanel.js of GeoExplorer.<br></div><div>The error here:</div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap">POST <a href="http://localhost:9080/geoserver/rest/imports" title="http://localhost:9080/geoserver/rest/imports" style="color:rgb(84,84,84)" target="_blank">http://localhost:9080/geoserver/rest/imports</a> 405 (Method Not Allowed)</span><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"> </span><br></div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:12px;white-space:pre-wrap"><br></span></div>The code in LayerUploadPanel.js </div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Ext.Ajax.request({<div> url: this.getUploadUrl(),</div><div> method: "POST",</div><div> jsonData: jsonData,</div><div> success: function(response) {</div><div><span style="white-space:pre-wrap">                         </span> this._import = response.getResponseHeader("Location");</div><div> this.optionsFieldset.expand();<br></div><div> form.submit({<br></div><div> url: this._import + "/tasks?expand=all",</div><div> waitMsg: this.waitMsgText,</div><div> waitMsgTarget: true,</div><div> reset: true,</div><div> scope: this</div><div> .....</div><div><br></div><div><div>With geoserver 2.5.2 and 2.4.8 not work! (take the war from <a href="http://geoserver.org" target="_blank">geoserver.org</a>)</div><div><br></div></div><div>How I can solve this problem? It is a problem of geoserver, but there will be some way to solve client side programmatically.<br></div><div><br></div><div>Thanks</div></div><span class=""><font color="#888888"><div><br></div>Pablo
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><b><font color="#3366ff"><i>Pablo J. Zader</i></font></b></div><div><b><font color="#3366ff"><i>Lic. en Cs. de la Computación</i></font></b></div><div><font color="#3366ff"><b><i>CONAE </i></b></font></div><font color="#3366ff"><i><b><a href="mailto:pablo.zader@gmail.com" target="_blank">pablo.zader@gmail.com</a></b><br></i></font><div><b><i><font size="1"><br></font></i></b></div><div><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br> Los Hombres Promedio hablan sobre cosas...<br> Los Hombres Pequeños hablan.. de otros Hombres.<br><br></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div>
</div></div>