<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>This isn't really complete enough for us to diagnose everything that's going on. &nbsp;Again, my previous email suggests using Firebug to ensure that the service is being called, it applies here too.</span></div><div><span><br></span></div><div><span>The big problem I see is that you are passing URL style key-value pairs to startService, which is actually expecting a javascript-object. &nbsp;</span></div><div><span><br></span></div><div><span>Your print statment should look like this:</span></div><div><span>print "javascript:GeoMOOSE.startService('query_dis', {'dis' : '".$dis."')"</span></div><div><span><br></span></div><div><span>Have you looked into using query.php for any of your queries?</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div
 style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> gayani &lt;gayani.edirisinghe@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> geomoose-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, October 5, 2011 11:18 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Geomoose-users] Verify Mapbook Service<br></font><br>
Hi,<br>I need to call to service in map book through php script.&nbsp; How can I verify<br>the service working properly.&nbsp; The coding and information of the process is<br>as follows.<br><br>calling to service from php file<br>print " javascript:GeoMOOSE.startService('query_dis','dis=".$dis."')&nbsp; List<br>of district projects ";<br>Here call to the service query_dis with variable.<br><br>serive in map book is<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;service name="quey_dis" selectable="false"<br>default="false" locked="true" &gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;url&gt;/cgi-bin/mapserv.exe?&lt;/url&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input
 type="hidden"<br>value="Proceed"/&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="map"<br>value="/ms4w/apps/geomoose2/maps/demo/disquery/districtpro.map"/&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="mode"<br>value="NQUERY"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="sector"<br>value=""/&gt; <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/service&gt;<br><br>Do you have any experience
 on this? <br><br>--<br>View this message in context: http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3398734.html<br>Sent from the Geomoose-users mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/geomoose-users<br><br><br></div></div></blockquote></div></div></body></html>