Hi,<br><br>Thanks for your reply.  And I need to know how can I call to variable <span>&#39;$dis&#39; 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">&lt;<a href="/user/SendEmail.jtp?type=node&node=3401986&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</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&#39;t really complete enough for us to diagnose everything that&#39;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 &quot;javascript:GeoMOOSE.startService(&#39;query_dis&#39;, {&#39;dis&#39; : &#39;&quot;.$dis.&quot;&#39;)&quot;</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:&#39;times new roman&#39;, &#39;new york&#39;, times, serif"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold">From:</span></b> gayani &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=3399698&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;<br>
<b><span style="font-weight:bold">To:</span></b> <a href="http://user/SendEmail.jtp?type=node&amp;node=3399698&amp;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 &quot; javascript:GeoMOOSE.startService(&#39;query_dis&#39;,&#39;dis=&quot;.$dis.&quot;&#39;)  List<br>of district projects &quot;;<br>Here call to the service query_dis with variable.<br><br>serive in map book is<br>
                        &lt;service name=&quot;quey_dis&quot; selectable=&quot;false&quot;<br>default=&quot;false&quot; locked=&quot;true&quot; &gt;<br>                                        &lt;url&gt;/cgi-bin/mapserv.exe?&lt;/url&gt;<br>
                                        &lt;input
 type=&quot;hidden&quot;<br>value=&quot;Proceed&quot;/&gt; <br>                                        &lt;input type=&quot;hidden&quot; name=&quot;map&quot;<br>value=&quot;/ms4w/apps/geomoose2/maps/demo/disquery/districtpro.map&quot;/&gt; <br>
                                       <br>                                        &lt;input type=&quot;hidden&quot; name=&quot;mode&quot;<br>value=&quot;NQUERY&quot;/&gt;<br>                                        &lt;input type=&quot;hidden&quot; name=&quot;sector&quot;<br>
value=&quot;&quot;/&gt; <br>                        &lt;/service&gt;<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&amp;node=3399698&amp;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&amp;node=3399698&amp;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/>