<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. 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. </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 <gayani.edirisinghe@gmail.com><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. How can I verify<br>the service working properly. 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."') List<br>of district projects ";<br>Here call to the service query_dis with variable.<br><br>serive in map book is<br> <service name="quey_dis" selectable="false"<br>default="false" locked="true" ><br> <url>/cgi-bin/mapserv.exe?</url><br> <input
type="hidden"<br>value="Proceed"/> <br> <input type="hidden" name="map"<br>value="/ms4w/apps/geomoose2/maps/demo/disquery/districtpro.map"/> <br> <br> <input type="hidden" name="mode"<br>value="NQUERY"/><br> <input type="hidden" name="sector"<br>value=""/> <br> </service><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>