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&#39;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 &quot;upload wms&quot; 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>&quot;<br>$mywms = new wms();<br>$mywms-&gt;createObjFromXML($xml);<br>$mywms-&gt;writeObjInDB($guiList);<br>$mywms-&gt;displayWMS();<br>&quot;<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&amp;SERVICE=WMS&amp;VERSION=1.1.1">http://localhost/mapbender/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;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&#39;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?&amp;guiID=admin_en_services&amp;elementID=loadWMS&amp;guiList=fdsafdsafdsa&amp;xml_file=http%3A%2F%2Flocalhost%2Fmapbender%2Fwms%3FREQUEST%3DGetCapabilities%26SERVICE%3DWMS%26VERSION%3D1.1.1">http://localhost/mapbender/php/mod_loadwms.php?&amp;guiID=admin_en_services&amp;elementID=loadWMS&amp;guiList=fdsafdsafdsa&amp;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?&amp;guiID=admin_en_services&amp;elementID=loadWMS">http://localhost/mapbender/php/mod_loadCapabilities.php?&amp;guiID=admin_en_services&amp;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&amp;SERVICE=WMS&amp;VERSION=1.1.1">http://localhost/mapbender/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.1.1</a><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">&lt;<a href="mailto:mschulz@webgis.de">mschulz@webgis.de</a>&gt;</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 &lt;<a href="mailto:tilakapash@gmail.com">tilakapash@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hello,<br>
&gt;<br>
&gt; I am trying to load the WMS capabilities of the GeoServer sitting in my<br>
&gt; Localhost.<br>
&gt;<br>
&gt; I followed all the steps from the mapbender tutorial (created new blank GUI<br>
&gt; and then did load WMS).<br>
&gt;<br>
&gt; I used the following URL:<br>
&gt;<br>
&gt; <a href="http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.1.1" target="_blank">http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.1.1</a><br>


&gt;<br>
&gt; and it gives the xml file which I send in attachment.<br>
&gt;<br>
&gt; However in the mapbender interface when I submit this url the response is<br>
&gt; just a line:<br>
&gt;<br>
&gt; file:<br>
&gt; <a href="http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.1.1" target="_blank">http://localhost:8080/geoserver/wms?REQUEST=GetCapabilities&amp;SERVICE=WMS&amp;VERSION=1.1.1</a><br>


&gt;<br>
&gt; It does and says nothing else.<br>
&gt;<br>
&gt; Not much of an error response. I have absolutely no idea what is wrong.<br>
&gt; Can someone help ?<br>
&gt;<br>
&gt; Jonas<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &quot;Ajude um pouco ... já é muito&quot;<br>
&gt; Projecto SOSIndia <a href="http://sosindia.net" target="_blank">http://sosindia.net</a><br>
&gt; ---------------------------------------------<br>
&gt;<br>
&gt; Shoot for the moon,<br>
&gt; even if you miss it<br>
&gt; you will land among the stars.<br>
&gt; - Unknown<br>
&gt;<br>
&gt; -------------------------------------------------<br>
&gt;<br>
&gt; What if for a moment, as an experiment,<br>
&gt; you drop every belief that you have?<br>
&gt; - Unknown<br>
&gt;<br>
&gt; ---------------------------------------------------------------<br>
&gt;<br>
&gt; &quot;We are all linked by a fabric of unseen connections. This fabric is<br>
&gt; constantly changing and evolving. This field is directly structured and<br>
&gt; influenced by our behavior and by our understanding.&quot;<br>
&gt; —David Bohm, quantum physicist, 1917–1992<br>
&gt;<br>
</div></div><div class="im">&gt; _______________________________________________<br>
&gt; Mapbender_users mailing list<br>
&gt; <a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapbender_users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
&gt;<br>
&gt;<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">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 class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Ajude um pouco ... já é muito&quot;<br>Projecto SOSIndia <a href="http://sosindia.net">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>&quot;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.&quot;<br>

—David Bohm, quantum physicist, 1917–1992 <br>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDQvMDQvMDhrK9wWAAACLklEQVQ4jbXUP0wTcRQH8O/9ekdjkT8CUqpee00bRyNNmSRSV0PcJJoQg2i6ODTExEUHg04OaNSppqtCjQ4ukDSKSuLUwcm4NNZcQYsIGtD+u/f7MZSWXltqo/Ul7/JL7u7z3r3fLye53e5xj8ejoYWRSCSSstfr1YLBYHcr4XA4rMmMMciy3EoXjDHIjDEoivL/4fefrP1P3nYEvqzLajOIo8fQz5/cfH3cnVttCM8udQaODBxQFx44Ye9h4HxvdGWtgMlbSXV2SQoMHf0RNcGSJJlmvPLdos7fdyIWL+D5myx+ZwwUDAIRh2EU1wYRFItA6FwvIjdcGJr4qFYakiSBlTavlABwsJth7mUWmSyBOAfnAkQE4gKccxBx/MoYmHmcxuH+NgAwGQ03j3NeRjjnoGqcC/zcIgghAMBkNISJuKlbEy4EaKdoKerC5nNMxQdlgVx+t0siKhYQovwV1rbdtyoNxlhxxoqilBMA0uuES6Pt6NqP2hHsoDarhJuXD2F5NV/uuJR1T4XLzvTJ25/VyHUnzgzba0YkKq6pdB4T00m47EyvPhU1M54asy3ee5o55bvwQQWAr/PHMBfbQGhGrykCANqARZ8asy3+ccYjg/K3kcF9UQAYvrJ29dmrDUxHlnOxu72P+rpYrq5eFU39K649TCF0tnPB0WdtCt2z48rQHIp+8XTHu9ET7alm0aY6fnFHjda98a/w3wZjDJLP5xv3+/1aK+F4PJ7cBm32CUNiyI2GAAAAAElFTkSuQmCC" style="position: absolute; visibility: visible; color: transparent; margin: 0px; border: medium none; z-index: 2147483647; left: 297px; top: 21px;" id="kosakoff-target-image">