This component subscribes to
DistanceQuery objects
and sets the "distance" between the two ZIP codes by asking
a remote SOAP server.
Load with:
<component
class="org.cougaar.lib.web.axis.distance.DistanceQueryPlugin">
<argument>async=false</argument>
</component>
Change the above to "async=true" to enable asynchronous SOAP
calls, which avoids blocking Cougaar's pooled threads during
the SOAP I/O.
This example uses the imacination.com "ZIP Distance Calculator" web service.
|