To try out the example, first create an account with Geonames and activate free web service usage through ManageAccounts. Then run the ballerina with the command line parameters shown below,
ballerina <Geonames Username> <Country Code> <Number of Wiki hits to retrieve>
example,
ballerina testaccount1101 LK 20
Similarly, ballerina can be used for service chaining scenarios. Look to the Service Chaining example shipped with the distribution for more information. Find out more about Ballerina here: http://ballerinalang.org/
Note: this example was written for ballerina 0.87 and it may not work with other versions.
No comments:
Post a Comment