This usage is straightforward. Using grails 1.1 let's create a simple XFire web service doing currency conversions. Let's assume, we can handled handle 3 currencies: AUD, USD and BGP. In order to keep things simple, we do assume a static exchange rate. Such a service would look like this:
...