The Tuscany hello world JS client WS sample shows using the Tuscany SCA runtime in a Tomcat environment providing a client for the Tuscany helloworld WS samples, helloworldws and helloworlde4xws.
+---main |
sca.module | Defines the SCA module, and entryPoints which are wired directly to externalServices for each of the web services. |
helloworld.wsdl | WSDL for the service. |
HelloWorldClient.html | The HTML page for the client. This includes a JavaScript script which uses the SCA JSON-RPC support to invoke methods on the SCA entryPoints. |
web.xml | Standard J2EE web application's web.xml |
There isn't much code in this sample, only the script in the HTML for the page, and even that script is fairly simple. It demonstrates how simple SCA and its assembly model can make component implementations.