Hello, I've created two tuscany webservices that work independently but I would like for the one to be able to call some of the methods/operations of the other. The examples I've seen show the wires fanning out from a client such as the calculator or a jsp or a web service component is wired to a java implementation such as the currencyConvertor in the store example. How can I get a reference to work btwn two web services? In the eclipse tool, my @Reference section resolves and I'm able to write the necessary code.
<?xml version="1.0" encoding="UTF-8"?> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" xmlns:c="http://battleship" name="battleship"> <component name="wbl"> <t:implementation.resource location="web"/> <service name="Resource"> <t:binding.http/> </service> </component> <component name="DataObjects"> <implementation.java class="battleship.DataObjectsImpl"/> <service name="DataObjects"> <binding.ws uri="ws"/> <t:binding.jsonrpc uri="json"/> </service> </component> <component name="GamePlay"> <implementation.java class="battleship.BattleshipGameImpl"/> <service name="BattleshipGame"> <binding.ws uri="ws"/> <t:binding.jsonrpc uri="json"/> </service> <reference name="dataObject" target="DataObjects"/> </component> </composite> Thanks in advance. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
