Friday, October 31, 2008

Add a new Blogger Tag Cloud to Your Blog

If you need to setup and configure a new Blogger Tag Cloud for your Blog just follow the instructions given here.

How to run TCPMon with Command Line

If you need run TCPMon with Command Line this is all you have to do.

user@localhost$ java -cp <path-to-tcpmon-jar>

You can find more information on how configure it here.

Saturday, October 04, 2008

Back to College Again

It has been almost an year or so that I have been looking for a possibility of doing post grad studies. After some research, preparation and with some help, I managed to win a European Union scholarship to do Masters program in two counties and even better Nilupa and I both have won scholarships. This program is different to any regular Masters program in any European University where we have to study in two different Universities in two different countries.

First we will be attending Libera Università di Bolzano which is in Northern Italy, near the Switzerland and Austrian borders. It is one of two main poles of Computer Science education in Northern Italy along with Università degli Studi di Milano. The city of Bolzano is one of the prettiest and richest cities in Northern Italy. It has a blend of German speaking and Italian speaking communities where most of them tends to comprehend English. It is a tourist attraction which is located in valley surrounded by Dolamites.

As for the second year studies we will be attending Universidad Politécnica de Madrid in Spain. At the end of this program we would be getting double Masters (one from each University) which has the recognition of European Commission and its top Research Organizations such as ,Fraunhofer Institute for Experimental Software Engineering in Kaiserslautern ,The International SE Research Network (ISERN), The Italian Association of Informatics (AICA), COSPA - Consortium for Open Source in the Public Administration.

For us it is an opportunity of a lifetime and we look forward to make use of it to fullest extend.

Thursday, September 04, 2008

WSO2 WSF-Spring 1.5 Released

WSO2 WSF-Spring team is pleased to announce the availability of WSO2 Web Services Framework for Spring 1.5 version.

You can download the source and binary distributions from the following URL.
Project's website - downloads :

Pleas feel free to send any feedback to our forum

or our mailing lists

For further details please visit our project's website at:

Thank you very much for your interest in our products !!

WSO2 WSF-Spring Team

Thursday, June 26, 2008

World's Fastest Open Source Enterprise Service Bus (ESB)

Hats off to WSO2 ESB development team for their excellent piece of work in creating WSO2 ESB 1.7 which is currently the fastest open source ESB available.

Monday, June 16, 2008

How to find your Public IP address

Find out your public IP and other metadata of your outgoing HTTP requests.

Monday, February 11, 2008

How to Rollback a SVN Repository to a Previous Revision

Sometimes you might get confused about what to do if you accidentally commit something to a SVN repository. If you want to rollback the SVN repository to the revision before your last commit, this is what you need to do.

a) Update your local copy of the code base to the latest revision.

b) Merge the previous revision to your current code base.

svn merge -rHEAD:xxxx [svn-repository-url] [path-to-local-copy]
  • HEAD – indicates the revision of the local copy of the code is the latest revision.
  • xxxx – is the revision which want to rollback.
  • [svn-repository-url] - is the project's URL in SVN repository
  • [path-to-local-copy] - is the path to the local copy of the project
svn merge -rHEAD:1010 /home/sanka/project1/trunk

c) Commit the changes which occurs as a result of above steps.

Tuesday, January 29, 2008

WSO2 Mashup Server 1.0 Released

The WSO2 Mashup Server is a powerful yet simple and quick way to tailor Web-based information to the personal needs of individuals and organizations.

It has been released under the Apache Software License 2.0.

This release can be downloaded from

WSO2 Mashup Server 1.0 - Release Note - 28th January 2008

"Create, deploy, and consume Web services Mashups in the simplest fashion"

The WSO2 Mashup Server is a powerful yet simple and quick way to tailor Web-based information to the personal needs of individuals and organizations.

It is a platform for acquiring data from a variety of sources including Web Services, HTML pages and feeds, and process and combine it with other data using JavaScript with E4X XML extensions. The result is then exposed as a new Web service with rich metadata and artifacts to simplify the creation of rich user interfaces.

The WSO2 Mashup Server will form the backbone of a become an ecosystem of community-developed services that will broaden the palette of capabilities for mashups and distributed applications.

WSO2 Mashup Server is released under the Apache License v2.0

Check out the project home page at for additional information.

Features List

* Hosting of mashup services written using JavaScript with E4X XML extension
- Simple file based deployment model
* JavaScript annotations to configure the deployed services
* Auto generation of metadata and runtime resources for the deployed mashups
- JavaScript stubs that simplify client access to the mashup service
- TryIt functionality to invoke the mashup service through a web browser
- WSDL 1.1/WSDL 2.0/XSD documents to describe the mashup service
- API documentation
* Ability to bundle a custom user interface for the mashups
* Many useful Javascript Host objects that can be used when writing mashups
- WSRequest: invoke Web services from the mashup services
- File: File storage/manipulation functionality
- System: Set of system specific utility functions
- Session: Ability to share objects across different service invocations
- Scraper: Extract data from HTML pages and present in XML format
- APPClient: Atom Publishing Protocol client to retrieve/publish Atom feeds with APP servers
- Feed: A generic set of host objects to transparently read and create Atom and RSS feeds
* Support for recurring and longer-running tasks
* Management console to easily manage the mashups
* Simple sharing of deployed mashups with other WSO2 Mashup Servers
Mashup sharing community portal ( to share and host your mashups

New In This Release

* Email Host object
* IM Host object
* Revamped management interface based on WSO2 Registry
- Web 2.0 look and feel
- Improved multi-user and community support
- Improved user management support for administrators
- Email-verified self-registration
- Comments, tags, ratings
- Sophisticated search capabilities to locate and group mashups
- RSS and Atom feeds for any query
- Recent activity queries
* Improved tooling
- Scraper assistant
- JavaScript Stub Genarator
* Improved REST support via httpMethod and httpLocation annotations
* Infocard login support
* Improved sharing and downloading of mashups based on user accounts
* Special _private folder to store private data for each mashup
* Windows installer and management tray icon.

Known Issues

* Management Console was tested only on IE 6/7 & Firefox 1.5/2.0.
* Inter-service dependencies using the dynamically generated stubs may give deployment time errors. Workaround would be to save a local copy of the stub in to the dependent service.
* JSON support lacks try-it support
* Mashup editor will convert < and > characters to <> while saving the code in the server. This might result in malformed xml. Using these special characters with caution is adviced.

Future Directions

* Improved tooling support.
* An expanded toolkit of generic building-block services.
* Improved access control.
* Samples and tools to use mashups in even more places like portals and widgets.
* Lots more cool stuff.

Reporting Problems

Issues can be reported using the public JIRA available at

Contact us

WSO2 Mashup Server developers can be contacted via mailing lists:
For Users:
For Developers:
For details on subscriptions:

Questions can also be raised in this forum:


WSO2 Inc. offers a variety of professional Training Programs, including training on general Web services as well as WSO2 Mashup Server, WSO2 WSAS, WSO2 ESB, Apache Axis2, Data Services and a number of other products.

For additional support information please refer to


WSO2 Inc. offers a variety of development and production support programs, ranging from Web-based support up through normal business hours, to premium 24x7 phone support. For additional support information

please refer to

Enjoy the Mashup Server!

- WSO2 Mashup Server Team

Friday, January 25, 2008

Axis2 based Web services Application Server - WSO2 WSAS 2.2 Released

We are happy to announce the release of WSO2 Web Services Application Server (WSAS) 2.2, the enterprise ready Web services engine powered by Apache Axis2. WSAS is a Java runtime for hosting services & runs standalone or in conjunction with Apache Tomcat, IBM WebSphere, BEA
WebLogic, JBossAS and any other servlet container. WSAS makes it easy to develop, deploy and manage services using a graphical management console.

WSAS is an open source product released under the Apache Software License 2.0.

The core features of WSAS include;
  • Axis1 backward compatibility - Expose legacy Axis 1.x Web services as Axis2 Web services & engage Axis2's WS-* protocols such as WS-Security & WSRM in front of legacy services.
  • Simple approach to provide WS-SecurityPolicy based Rampart configuration with graphical tools, using a set of most common security scenarios.
  • Data services support - Easily expose data stored in an enterprise data source via a Web service API
  • EJB service provider support - Easily expose EJBs as Web services using a GUI Wizard
  • WSAS IDE - Eclipse IDE plugin supporting code-first and contract-first development
  • Clustering support - for High Availability & High Scalability
  • Full support for WS-Security, WS-Trust, WS-Policy and WS-Secure Conversation and XKMS
  • JMX & Web interface based monitoring and management
  • WS-* & REST support
  • GUIs for popular Axis2 tools such as wsdl2java[1] & java2wsdl[2]
  • GUI Tool for trying out any Web service[3]
  • GUI tool for converting WSDL 1.1 to 2.0 documents[4]
  • GUI based services.xml[5] & module.xml[6] validator

New Features In This Release
  • Improved Data Services support including New & improved UI, and database connection pooling
  • WS-Security 1.1 support
  • Improved clustering support
  • Improved JSR-181 & JAXWS support
  • JMX based monitoring
  • Graceful shutdown & restart of the server
  • Serve all pending requests before shutting down or restarting the server
  • Improvements to the Management Console
  • Various bug fixes to Apache Axis2, Apache Rampart & WSAS

You can try a live version of WSAS 2.2 (no download needed) here:
(Any services you deploy will be removed within an hour.)

For more details, see the WSAS release note.

Data Services - Bringing Enterprise Data to Web
  • Service enable data locked in enterprise data sources in no time
  • Zero code. Simple descriptor file describes the data to service mapping
  • Controlled access to your data
  • Customizable XML output
  • Benefit from REST & WS-* support
  • Built-in Connection pooling support
  • Supports exposing Stored procedures & functions
  • Built-in caching
  • Throttling - to ensure your database is never overloaded
  • Easy configuration via graphical console
  • Test your services via Try-it tool

Useful Links
Download WSAS from here:

How to do various stuff with WSAS :

Contribute to WSAS
User list:
Dev list:

WSO2 Inc. offers a variety of professional Training Programs, including
training on general Web services as well as WSO2 WSAS, Apache Axis2, Data Services
and a number of other products.
For additional support information please refer to

WSO2 Inc. offers a variety of development and production support
programs, ranging from Web-based support up through normal business
hours, to premium 24x7 phone support.
For additional support information please refer to
For more information on WSO2 WSAS, visit the WSO2 Oxygen Tank (

  1. wsdl2code -
  2. WSDL View -
  3. Try it -
  4. WSDL Converter -
  5. Services Validator -
  6. Module Validator -

Thursday, January 17, 2008

Wedding Bells for Prasanna & Indika

One of my buddies Prasanna whom I've known for many many years got married today. I wish them a happy wedded life .. !!

Wednesday, January 09, 2008

Understanding WS Metadata Exchange - I

This article introduces different types of Web services metadata and their importance, explains the necessity for a standard way to encapsulate, publish and retrieve metadata and provides description of what is specified in WS Metadata Exchange specification.

An Excellent Hand Book on Applying for Grad Schools

I have been doing some research on applying for grad school. This is an excellent hand book that I found which I think most you out there who wish to purse higher studies would find useful. It describes what it is all about obtaining a PhD in Computer Science, why you would to obtain one and things which you need to pay attention when you applying for a top research college.