Skip to main content

Posts

How to use Dynamic Registry Keys with WSO2 ESB Mediators

From this post I will going to briefly introduce about one of the new features provided by WSO2 ESB . Earlier WSO2 ESB supported static registry keys where users can select a key for the mediator as a static value. But from ESB 4.0.0 users can use dynamic registry keys where users can define XPath expression to evaluate the registry key in run time. For an example let's consider XSLT mediator. With earlier static registry key based method user have to define only single XSLT file for transformation. With the use of dynamic registry key, user will be able to use XPath expressions to dynamically generate the registry key, based on the message context. So with that user can have multiple XSLT files and based on the evaluated key mediator will be able to select the required XSLT file in run time. Following is a sample usage of static and dynamic registry keys and user can use both of them according to situation.   Static Registry Key – define the exact path to find the xslt fil...

Create, deploy, and consume Web services Mashups in the simplest fashion : WSO2 Mashup Server 2.3.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 is a platform for acquiring data from a variety of sources including WebServices, HTML pages, feeds and data sources, 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 meta-data and artifacts to simplify the creation of rich user interfaces. WSO2 Mashup Server is released under the Apache License v2.0 Check out the project home page at http://www.wso2.org/projects/mashup for additional information.  You can download this distribution from http://wso2.org/downloads/mashup-server and give it a try.

WSO2 Gadget Server 1.4.0 Released !!!

The WSO2 Gadget Server team is pleased to announce the release of version 1.4.0 of the WSO2 Gadget Server. The WSO2 Gadget Server is an enterprise grade portal, which is available under the Apache Software License v2.0 . With the WSO2 Gadget Server, you can offer your execs, employees, partners, or customers a way to get all the information in one place that they need. Each user's dashboard is individualized, allowing him/her to add, customize, and rearrange gadgets, as well as group them into tab sets. The open "Web" model means users can select gadgets not only from your enterprise, but also from Google and many others.  Google Gadget development is an easy, standards-based process - any Web developer with basic skills in HTML, Javascript, and XML can develop and deploy a custom ...

Beautiful Trincomalee : One of the stunning places to visit in Sri-Lanka

Recently my self and few of my friends traveled to the ancient city of Trncomalee which is situated in eastern province and lies on the east cost of the little island. In ancient times it was identified as Gokanna and it was one of the major see ports in the international trading history of Sri Lanka. The city is home to the famous ancient Koneswaram Temple and it is said that this is the capital city of king Ravana . This was my first travel to this ancient city and I would say that, it is one of the best places to visit in Sri Lanka. There are lot of places to visit there including Konesvaram Temple, Dutch Fort, Nilaveli Beach, Marble Beach and Pigeon Island . Nilaveli beach is considered to be one of the best beaches in Sri Lanka and Knee deep shallow seas spreads out hundreds of meters towards the sea. That provides ideal and pure conditions for sun bathing. Some of the pictures taken(by me and my friends) trough out the tour is listed bellow as a evidence to the stunning...

Creating a Simple Axis Service(.aar file) and Deploy it in WSO2 Application Server

In this post I am explaining how to Create a Simple Axis Service(.aar file) and Deploy it in WSO2 Application Server using a simple sample. And also at the end I am describing how to do the same thing with creation of a Jar Service. Lets assume "sample-home" as our parent directory and inside that we can create following folder structure. With this folder structure we can include our external libraries (jar files) inside lib folder and  the "services.xml" file inside "META-INF" folder. Following is the sample services.xml definition which I used with this sample creation. < service name = "HelloService" > < Description > This is a sample service to explain simple aar service </ Description > < messageReceivers > < messageReceiver mep = "http://www.w3.org/2006/01/wsdl/in-out" class = "org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> </ messageReceivers > < parame...

Configure WSO2 ESB with XMPP transport

This post explains main steps which required to configure WSO2 ESB with XMPP transport support. For this I am using Openfire, Instant Messaging chat server that implements the XMPP protocol. Here I am working on Linux OS and you have to change commands according to your OS. First you can download openfire from the following link. http://www.igniterealtime.org/projects/openfire/   Then Extract the openfire distribution and go to the folder "openfire/bin". Now you can run the openfire server using following command in command prompt ./openfire start After that you can setup openfire. For that you have to use type following URL in your browser. http://127.0.0.1:9090/   With this setup you can add server settings including domain, database settings, Profile Settings, and Administrator Account. Following are the settings with my setup. Domain – localhost database settings – Embedded database Profile Settings – Default Administrator Account – Username: admin Password: admin N...

Moving window button to the top right of the window in Ubuntu

Ubuntu 10.04 shows window buttons in the top left side of the window. Some people are preferred this new change but others are not. According to the preference of the user this can be changed easily. Just use following simple steps. Open the “run application window” ( Alt + F2) Type “gconf-editor” in text area and click on run to start “Configuration Editor” Go to /apps/metacity/general Double click on button_layout (Now You can edit the value of button layout) Replace “:minimize,maximize,close” with “close,minimize,maximize:” ( Now You are done..., : denotes the side to appear the window buttons)