This component publishes a test
DistanceQuery object that
the
DistanceQueryPlugin will process.
Requires the
DistanceQueryPlugin to be loaded.
Load with:
<component
class="org.cougaar.lib.web.axis.distance.DistanceQueryTest">
<argument>fromZip=02138</argument>
<argument>toZip=90210</argument>
</component>
The expected output is:
.. Published query:
(distance-query uid=NodeA/int
fromZip=02138 toZip=90210 distance=0.0)
.. Observed query answer:
(distance-query uid=NodeA/int
fromZip=02138 toZip=90210 distance=2594.585085768498)
|