Hi Fabiano I added a new sample which packages the Calculator as a WAR and calls if from Javascript using DOJO. It seems to work in this simple same so I need you to take a look and see how this differs from your example.
Take a look at the code here [1]. If you check this out of subversion you should be able to build it using the "mvn" command. The resulting war can be found in the target directory. You can deploy this directly to you container and point your browser at... http://localhost:8080/sample-contribution-binding-jsonrpc-calculator-webapp/ If you want to load it into eclipse then use "mvn eclipse:eclipse" which will generate the eclipse project files for you. Let me know how you get on. [1] http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/binding-jsonrpc/contribution-calculator-webapp/ Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
