This example uses the Dojo Toolkit to create a JavaScript object helloWorldService for the SCA service 'HelloWorldService' using Dojo's RPC classes and providing them with HelloWorldService?smd for Simple Method Description (SMD) input.
helloWorldService
It then creates a Dojo button that will envoke the getGreetings method of the HelloWorldService object.
getGreetings
HelloWorldService