Hi Jonas, <div><br></div><div>one another try: geoserver sometimes publishes around 3000 epsg codes in the cetcapabilities document. In newer geoserver version you can define a customized list of epsgs codes. I think sometiems mapbender will stumble across the 3000 epsg codes ....<br>
<br></div><div>Cheers, Michael</div><div><br><div class="gmail_quote">2010/3/29 Jonas Blasques <span dir="ltr"><<a href="mailto:tilakapash@gmail.com">tilakapash@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the quick answer Michael,<br><br>I did what you tried and the response is the same although it is now 10X faster, meaning when I hit the submit button to load the wms it straight away returns an HTML output and before it was dead slow (I don't know if this has anything to do with it but i thought of telling you).<br>
<br>Below are the location to which the form of the "upload wms" is sent to together with the post parameteres.<br>I also send the request header and the response header.<br><u><b><br></b></u>I checked the mapbender php modules - mod_loadcapabilities and the mod_load_wms and the postgres db and saw that the WMS is not being uploaded to the table wms of the db as is intended with the writeObjInDB($guiList) function<u>.<br>
<br></u>I think that the code:<br><br>"<br>$mywms = new wms();<br>$mywms->createObjFromXML($xml);<br>$mywms->writeObjInDB($guiList);<br>$mywms->displayWMS();<br>"<br><br>has problems wiith the function createObjFromXML($xml)<br>
The parameter $xml seems to be ok (<a href="http://localhost/mapbender/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1" target="_blank">http://localhost/mapbender/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1</a>).<br>
I say this because I do var_dumps up to the point after this line and then no more. I don't know if this is helpful or not.<br><br>Any further help is deeply appreciated Michael,<br><br>Jonas<br><u><b><br><br>LOCATION WITH PARAMETERS<br>
<br></b></u><a href="http://localhost/mapbender/php/mod_loadwms.php?&guiID=admin_en_services&elementID=loadWMS&guiList=fdsafdsafdsa&xml_file=http%3A%2F%2Flocalhost%2Fmapbender%2Fwms%3FREQUEST%3DGetCapabilities%26SERVICE%3DWMS%26VERSION%3D1.1.1" target="_blank">http://localhost/mapbender/php/mod_loadwms.php?&guiID=admin_en_services&elementID=loadWMS&guiList=fdsafdsafdsa&xml_file=http%3A%2F%2Flocalhost%2Fmapbender%2Fwms%3FREQUEST%3DGetCapabilities%26SERVICE%3DWMS%26VERSION%3D1.1.1</a><u><b><br>
<br>REQUEST HEADER<br></b></u>Host: localhost<br>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729) FirePHP/0.4<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>
Accept-Language: en-us,en;q=0.5<br>Accept-Encoding: gzip,deflate<br>Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>Keep-Alive: 115<br>Connection: keep-alive<br>Referer: <a href="http://localhost/mapbender/php/mod_loadCapabilities.php?&guiID=admin_en_services&elementID=loadWMS" target="_blank">http://localhost/mapbender/php/mod_loadCapabilities.php?&guiID=admin_en_services&elementID=loadWMS</a><br>
Cookie: PHPSESSID=8lpi7smghkuntptleva7rr5ee7<br><br><u><b>RESPONSE HEADER<br></b></u>Date: Mon, 29 Mar 2010 14:32:02 GMT<br>Server: Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_jk/1.2.28 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1<br>
X-Powered-By: PHP/5.3.1<br>Expires: Thu, 19 Nov 1981 08:52:00 GMT<br>Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0<br>Pragma: no-cache<br>Vary: Accept-Encoding,User-Agent<br>Content-Encoding: gzip<br>
Content-Length: 104<br>Keep-Alive: timeout=5, max=100<br>Connection: Keep-Alive<br>Content-Type: text/html<u><b><br><br>RESPONSE BODY</b></u><br>file: <a href="http://localhost/mapbender/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1" target="_blank">http://localhost/mapbender/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1</a><div>
<div></div><div class="h5"><u><b><br>
<br></b></u><br><br><div class="gmail_quote">On Mon, Mar 29, 2010 at 1:29 PM, Michael Schulz <span dir="ltr"><<a href="mailto:mschulz@webgis.de" target="_blank">mschulz@webgis.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hi Jonas,<br>
<br>
is Mapbender running on localhost as well? Which connection type did<br>
you configure in mapbender.conf, http or curl? If you are using a<br>
recent Mapbender 2.6, try to use type curl and add localhost to the<br>
NOT_PROXY_HOSTS parameter. Check if this solves your problem.<br>
<br>
Cheers, Michael<br>
<br>
<br>
2010/3/29 Jonas Blasques <<a href="mailto:tilakapash@gmail.com" target="_blank">tilakapash@gmail.com</a>>:<br>
<div><div></div><div>> Hello,<br>
><br>
> I am trying to load the WMS capabilities of the GeoServer sitting in my<br>
> Localhost.<br>
><br>
> I followed all the steps from the mapbender tutorial (created new blank GUI<br>
> and then did load WMS).<br>
><br>
> I used the following URL:<br>
><br>
> <a href="http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1" target="_blank">http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1</a><br>
><br>
> and it gives the xml file which I send in attachment.<br>
><br>
> However in the mapbender interface when I submit this url the response is<br>
> just a line:<br>
><br>
> file:<br>
> <a href="http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1" target="_blank">http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1</a><br>
><br>
> It does and says nothing else.<br>
><br>
> Not much of an error response. I have absolutely no idea what is wrong.<br>
> Can someone help ?<br>
><br>
> Jonas<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> "Ajude um pouco ... já é muito"<br>
> Projecto SOSIndia <a href="http://sosindia.net" target="_blank">http://sosindia.net</a><br>
> ---------------------------------------------<br>
><br>
> Shoot for the moon,<br>
> even if you miss it<br>
> you will land among the stars.<br>
> - Unknown<br>
><br>
> -------------------------------------------------<br>
><br>
> What if for a moment, as an experiment,<br>
> you drop every belief that you have?<br>
> - Unknown<br>
><br>
> ---------------------------------------------------------------<br>
><br>
> "We are all linked by a fabric of unseen connections. This fabric is<br>
> constantly changing and evolving. This field is directly structured and<br>
> influenced by our behavior and by our understanding."<br>
> —David Bohm, quantum physicist, 1917–1992<br>
><br>
</div></div><div>> _______________________________________________<br>
> Mapbender_users mailing list<br>
> <a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
><br>
><br>
<br>
<br>
<br>
</div>--<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Aufwind durch Wissen!<br>
<br>
Qualifizierte Open Source Schulungen bei der<br>
<a href="http://www.foss-akademie.de/" target="_blank">http://www.foss-akademie.de/</a><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
-----------------------------------------------------------<br>
Michael Schulz<br>
<a href="mailto:mschulz@webgis.de" target="_blank">mschulz@webgis.de</a><br>
<br>
in medias res<br>
Gesellschaft für Informationstechnologie mbH<br>
<br>
Schwimmbadstraße 2<br>
D-79100 Freiburg i. Br.<br>
<br>
Tel: +49 (0)761 705798-102<br>
Tel: +49 (0)761 705798-0<br>
Fax: +49 (0)761 705798-09<br>
<br>
<a href="http://www.webgis.de" target="_blank">http://www.webgis.de</a> / <a href="http://www.zopecms.de" target="_blank">http://www.zopecms.de</a><br>
--------------------------------------------------------------<br>
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck<br>
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg<br>
<div><div></div><div>_______________________________________________<br>
Mapbender_users mailing list<br>
<a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"Ajude um pouco ... já é muito"<br>Projecto SOSIndia <a href="http://sosindia.net" target="_blank">http://sosindia.net</a><br>---------------------------------------------<br>
<br>Shoot for the moon,<br>even if you miss it<br>you will land among the stars.<br>- Unknown<br><br>-------------------------------------------------<br><br>What if for a moment, as an experiment,<br>you drop every belief that you have?<br>
- Unknown<br><br>---------------------------------------------------------------<br><br>"We are all linked by a fabric of unseen connections. This fabric is constantly changing and evolving. This field is directly structured and influenced by our behavior and by our understanding."<br>
—David Bohm, quantum physicist, 1917–1992 <br>
<img style="color:transparent;margin:0px;border:medium none">
</div></div><br>_______________________________________________<br>
Mapbender_users mailing list<br>
<a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Aufwind durch Wissen!<br><br>Qualifizierte Open Source Schulungen bei der<br><a href="http://www.foss-akademie.de/">http://www.foss-akademie.de/</a><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>-----------------------------------------------------------<br>Michael Schulz<br><a href="mailto:mschulz@webgis.de">mschulz@webgis.de</a><br><br>in medias res <br>Gesellschaft für Informationstechnologie mbH<br>
<br>Schwimmbadstraße 2<br>D-79100 Freiburg i. Br.<br><br>Tel: +49 (0)761 705798-102<br>Tel: +49 (0)761 705798-0<br>Fax: +49 (0)761 705798-09<br><br><a href="http://www.webgis.de">http://www.webgis.de</a> / <a href="http://www.zopecms.de">http://www.zopecms.de</a><br>
--------------------------------------------------------------<br>Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck<br>Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg<br>
</div>