Hi,<br><br>Thanks for your reply. And I need to know how can I call to variable <span>'$dis' within the .map file that called from perticular service. </span><br clear="all">Thanks<br>Gayani Edirisinghe<input type="hidden"><input type="hidden"><div>
</div><input type="hidden"><input type="hidden"><div></div><br>
<br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 7:09 PM, Dan Little [via Geomoose-users] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=3401986&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
        <div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt"><div class="im"><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><div><br><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em"><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 face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold">From:</span></b> gayani <<a href="http://user/SendEmail.jtp?type=node&node=3399698&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>><br>
<b><span style="font-weight:bold">To:</span></b> <a href="http://user/SendEmail.jtp?type=node&node=3399698&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><div><div></div><div class="h5"><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></div></div></font><div><div></div>
<div class="h5"><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: <a href="http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3398734.html" target="_blank" rel="nofollow" link="external">http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3398734.html</a><br>
Sent from the Geomoose-users mailing list archive at <a href="http://Nabble.com" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>_______________________________________________<br>Geomoose-users mailing list<br>
</div></div><a href="http://user/SendEmail.jtp?type=node&node=3399698&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br><br></div></div></blockquote></div></div><br>_______________________________________________
<br>Geomoose-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=3399698&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3399698.html" target="_blank" rel="nofollow" link="external">http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3399698.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from Verify Mapbook Service, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></blockquote></div><br>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3401986.html">Re: [Geomoose-users] Verify Mapbook Service</a><br/>
Sent from the <a href="http://geomoose-users.964460.n3.nabble.com/">Geomoose-users mailing list archive</a> at Nabble.com.<br/>