Top rated post today

  • N/A

Top rated post for the last 7 days

  • N/A

Top rated post for the last 28 days

  • N/A

Top rated post for the last 90 days


Dimuthu's Blog

Webinar: WSO2 Business Activity Monitor for Agile Enterprises

Samisa Abeysinghe, the directory of engineering at WSO2 will present a webinar on Building an Agile Enterprise With Business Activity Monitoring today (3rd February 2010).
There he will provide an overview of WSO2 Business Activity Monitor (WSO2 BAM), the latest product from the WSO2 Carbon platform, including its built-in dashboard to view analytics , reports of [...]


Dimuthu's Blog

Access WSO2 Governance as a Service From Remote Registry

WSO2 Governance as a Service is a hosted instance of WSO2 Governance Registry with multi-tenant support. WSO2 Governance as a Service provide you almost all the functionalities provided with the Governance Registry targeting the enterprise SOA governance, same time it provides all the advantages  inherent with the Software as a Service model.
Here I’m talking about [...]


Dimuthu's Blog

Make vs Ant

Ant was developed mainly to run java programs, so it is good at building and running java programs. But you can use the good all Make program to build and even run java programs.
Say I have an ant file that will

Clean the build – ant clean
Compile – ant compile
Make a Jar – ant jar
Run – [...]


Dimuthu's Blog

WSF/PHP Code First Approach: Returning an Array of String

Here is a problem that many people have asked me how to do it. “Returning an array of string” with the code first approach. The API or WSDL generation annotation guide, http://wso2.org/project/wsf/php/2.0.0/docs/wsdl_generation_api.html contain all the things required in details. Here is an example of a service that return an array of string.
<?php

/** splitMe function
* [...]


Dimuthu's Blog

Writing Business Rules in WSO2 Carbon Platform

If you want to write rules in a Java program you have lot of choices. You can use a third party library like Drools or use the JAVA built-in JSR-94 reference implementation. In WSO2 Carbon, there is a component that abstract the behaviour of different rule engine and give you a unified API. Currently it [...]


Dimuthu's Blog

Getting the size of BLOB in MySql

If you want to store binary in database, you can use BLOB as the data type of that column. In Mysql you can use TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB depending on your space requirement. Here is an example of database table using BLOB as a column type.
CREATE TABLE BloBTest (
id INT NOT [...]


Dimuthu's Blog

Register Today for WSO2 Governance as a Service

WSO2 Governance as a Service is an online multi-tenant supported instance of WSO2 Governance Registry which is the solution for SOA Governance from the WSO2 SOA stack. You can start trying out WSO2 Governance as a Service by accessing the http://governance.cloud.wso2.com and creating an account for your organization (free for limited use).
In order to identify [...]


Dimuthu's Blog

WSO2 Bringing Cloud Computing and SOA Together

Wso2 Cloud Public 2009 11 16


Dimuthu's Blog

WSO2 SOA Platform Enters in to the Cloud

WSO2 announced the launch of their SOA platform inside the Cloud earlier this week. With this launch, you can try out and use their comprehensive SOA platform inside the cloud.
WSO2 Cloud Platform consists of various products, including

WSO2 Cloud Virtual Machines: All WSO2 Java products are now available as

Amazon Machine Images (AMIs). Visit the ‘Getting Started’ [...]


Dimuthu's Blog

WSO2 SOA Workshop 2009, Santa Clara, CA

WSO2 is hosting a SOA Workshop in Santa Clara, California in November 3rd 2009. You will be able to attend to the following sessions covered by the industry leading experts in SOA.

ESBS and SOA
SOA Security
Mashups and Business Process Management for SOA
SOA Governance
SOA with C, C++, PHP
SOA Architecture Pattern

Visit here to find more details about the [...]


Dimuthu's Blog

WSO2 Releases Goernance Registry 3.0.1, ESB 2.1.1, WSAS 3.1.1, IS 2.0.1 AND Mashup Server 2.0.0

WSO2 announced an another round of release of their famous SOA products.

WSO2 Governance Registry 3.0.1
WSO2 ESB 2.1.1
WOS2 Web Services Application Server (WSAS) 3.1.1
WSO2 Identity Server (IS) 2.0.1
WSO2 Mashup Server 2.0.0

Although the version numbers say this is minor patch release (Other than the Mashup Server which is shipping as a major release), in fact there are [...]


Dimuthu's Blog

WSO2 Releases Eclipse IDE Tooling for WSAS and BPS

Saminda Wijerathna the lead of the WSO2 tooling team, announced the release of a new version of IDE tools for WSO2 WSAS and BPS. These tools will help you to write web services or web service clients and test them within your Eclipse IDE.
You can download the tools and the related documentation from http://wso2.org/downloads/tools/eclipse.
Here are [...]


Dimuthu's Blog

WSO2 Releases Web Service Framework For C++

WSO2 announced the release of the Web Services Framework for C++ (WSF/C++) version 2.0.0. Similar to WSF/PHP which is really popular among the PHP community, WSF/CPP is the C++ language binding for the Apache Axis2/C and the other supporting web services projects like Apache Sandesha/C, Apache Rampart/C.
With this release C++ developers will be able to [...]


Dimuthu's Blog

WSO2 Governance Registry 3.0.0 – What’s New?

WSO2 Governance Registry (G-Reg) (Formally known as WSO2 Registry) is released its 3.0.0 version along with two other sibling WSO2 products, WSAS 3.1.0 and ESB 2.1.0. This is a major release specially for WSO2 Governance Registry as it contain number of new features and improvements.
1. The New Name – s/Registry/Governance Registry
The product name itself changed [...]


Dimuthu's Blog

WSO2 Carbon 2 – WSAS, ESB & Governance Registry Released

WSO2 -An open source middleware company- announced the release of bunch of their SOA enabling products along with Carbon 2.0.0 which is an OSGI based unified platform that all the WSO2 java products are built on.

WSAS (Web Service Application Server) – Provide and consume web services, data services with full WS-*, REST support, GUI [...]


Dimuthu's Blog

Apache Stonehenge Releases First Milestone

Apache Stonehenge, A project to demonstrate the interoperability between heterogeneous platforms has done their first milestone release few days back.
The first milestone demonstrate the interoperability between

.NET – Microsoft WCF implementation
Java – WSO2 Web Service Application Server (WSAS) implementation
PHP – WSO2 Web Service Framework for PHP (WSF/PHP) implementation

Each of these technologies has implemented a Stock trader [...]


Dimuthu's Blog

SOA Summer School From WSO2

Are you curious What SOA is? Or How SOA revolutionize Enterprise technologies in recent times? Here is a great opportunity to you.
WSO2 is hosting a SOA Summer School for Free, starting from 18th June. It will enlighten you on different aspects of SOA like SOA in Enterprise, Scalable SOA, SOA with Security, SOA Governance, [...]


Dimuthu's Blog

WSO2 Registry - The Unified Repository for WSO2 SOA Platform

Early this year, WSO2 released a complete SOA platform, introducing a revolutionary solution to adapt SOA in more flexible and cost-effective manner. It is developed based on the OSGI technology, which allow users to get only the desired components to their requirements and implement their SOA infrastructure. As the requirements grow or change, they can [...]


Dimuthu's Blog

Five Unification in WSO2 Carbon

The release of WSO2 SOA platform - Carbon has unified the process of development to deployment of SOA in several aspects. Here is a list of 5 aspects unified across all the components of the SOA platform namely WSAS (The App Server), ESB (Enterprise Service Bus) and BPS (Business Process Server)
1. Unified QoS configurations - [...]


Dimuthu's Blog

Composable SOA Platform

The WSO2 SOA platform comprises of

Application Server (WSO2 WSAS) - Enables you to provide and consume web services
Enterprise Service Bus (WSO2 ESB) - Enables you to mediate web service interactions
Business Process Service (WSO2 BPS) - Enables you to orchestrate services for your business process.
Registry (WSO2 Registry) Enables you to store and govern your resources.

The uniqueness [...]


Dimuthu's Blog

WSO2 Mashup Server 1.5.2 Released

WSO2 has announced the release of WSO2 Mashup Server 1.5.2. This release introduced the support for Data Services (Exposing Database, Excel sheet, CSV as a service), Open ID Logins and personalized dashboards to manage mashups and some security improvements. Just have a look at the release note for all the details about the new features, [...]


Dimuthu's Blog

Case Study - PHP Data Services To Extract Content from Drupal Database

In this case study “ PHP Data Services Extract Content from Drupal Database“, I intended to present how Data Service concepts can be applied to extract data with marketing value from  a CMS database and publish it as web services.  I used the drupal instance deployed at http://wso2.org as the CMS for the use case. [...]


Dimuthu's Blog

WSO2 Carbon Products Released

WSO2 announced the release of the revolutionary series of products introducing a componentized design to implement SOA in cost effective and simple manner.

WSO2 Web Services Application Server (WSAS) - WSO2 WSAS is an enterprise ready web services engine based on Apache Axis2. It is incorporated with many features including,

Data services support - Expose you [...]


Dimuthu's Blog

Code Generate Custom SOAP Faults For Axis2/C

Web services use SOAP faults to report fault cases back to clients. The faults can be generated from the SOAP framework in a case of invalid SOAP messages, invalid security tokens or they can be generated from the service business logic itself. The fault messages may contain simply a string indicating the error, or it [...]


Dimuthu's Blog

Making Good SOA Great

WSO2 is preparing for the first major release of their enterprise java product series after adapting the OSGI technology. You can already try out the betas from the wso2.org site.

WSO2 Web Services Application Server (WSAS)

WSO2 Enterprise Service Bus (ESB)
WSO2 Registry
WSO2 Business Process Server (BPS)

With the power of OSGI you will be able [...]


Dimuthu's Blog

Making Web Requests Using Curl From C and PHP

libcurl is a famous C library which can be used to transfer data through http/tcp or any custom protocols. It has a very easy to use API to make web requests programatically.
PHP has an extension that wraps the libcurl API and provide a very convenient API to PHP programmers.
Normally PHP has a lot of functions [...]


Dimuthu's Blog

Hello World To Web Services With C And C++

Once you have a web service, you can write clients to invoke that service from any language, mostly with the help of a framework written in to that particular language. When it comes to C, the most popular choice is Apache Axis2/C framework. When you are using Axis2/C to write web service clients, you need [...]


Dimuthu's Blog

Article Introducing PHP Data Services

Now you can view the article I wrote titling “Introduction to PHP Data Services“. There I explain how you can design and implement Data Services in PHP using WSF/PHP Data Services Library.
This article covers,

Designing your Data Service API.
Writing the Data Service.
Deploying and Testing Data Service.
Make the Data Service available in both SOAP and RESTful form.
Use [...]


Dimuthu's Blog

RESTful PHP Web Services - Book Review

PHP is one of the famous choice, when it comes to develop a web site. As the web evolve with the emerge of web service, REST (REpresentational State Transfer) concepts, the PHP language is also adapted to the new requirements specially with the availability of new SOA (Service Oriented Architecture), REST frameworks and libraries. Anyway [...]


Dimuthu's Blog

PHP Web Services - Authentication Based on Client’s IP

Same as web pages, web services also sometime require  client authentication. The most frequent way of authentication is the use of WS-Security Username token which authenticate clients based on the username and passwords. There can be situations where clients need to be authenticated based on its IP or its domain.
If you are writing web services [...]


Dimuthu's Blog

Making Good SOA Great - EBook From WSO2

WSO2 has released an ebook “Making Good SOA Great - The WSO2 Story of Componentization” explaining how componentizations of middleware will improve the adaption of SOA in an enterprise IT system. And it introduces how you implement it in real systems using WSO2 carbon, the introducing WSO2 product of componentized SOA middleware.
You can [...]


Dimuthu's Blog

Security Considerations in Firefox When Accessing Different Domains

If you are a web developer you may have experienced that there are many situations that you need to access remote domains for data sources. For an example if you are building a weather mashup, you may like to connect to some weather forecasting services like  http://www.weather.gov or http://weather.cnn.com/weather/forecast.jsp. Mostly these services are very simple, [...]


Dimuthu's Blog

Introduction to WSO2 Carbon - Componentized SOA Platform

“WSO2 carbon is a componentized, customizable SOA Platform, You can adapt the middleware to your enterprise architecture, rather than adapt your architecture to the middleware”.
The Carbon Story


Dimuthu's Blog

Wordpress Database - Relationship with Tags, Catagories and Posts

Wordpress has a very simple database schema. And it is well documented. You can access the complete description of the wordpress core database from here, http://codex.wordpress.org/Database_Description.
Anyway first time I looked at the database I was confused with the term and the term_taxonomy table, why we need two tables for term and taxonomies. In fact in [...]


Dimuthu's Blog

Data Services Best Practices

In simple term, data services are exposing data as web services. Anyway it is not a complete definition. Actually there are situations where we use data services not only to read data, but also to create, update or delete data. So it is better say data services are doing CRUD (Create, Read, Update, Delete) operations [...]


Dimuthu's Blog

Sending Encrypted Binary Messages With PHP Web Services

Web services has made the communication between heterogeneous environments (say PHP with .NET  or Java) a reality. It has defines standards for communicate not only with texts but also with binaries. And more importantly you can keep these communication confidential using encrypted messages according to your requirement. In this post, we will look at how [...]


Dimuthu's Blog

Calling Simple Web Services From Javascript

If you are a web developer, you may have found many occasions you have to create simple mashups for your web site. There you call web services or data services to fill the content of the web page. Most of the time we call web services from a server side script, since there are many [...]


Dimuthu's Blog

PHP Data Services with PostgreSQL

LAMP (Linux + Apache + Mysql + PHP) stack powers many servers in the Internet today. For a LAMP  server, PostgreSQL could be the first alternative to Mysql. Similar to PHP + MySQL,  PHP + PostgreSQL too can be easily used in to host data services. Here are the steps to do it.

If you [...]


Dimuthu's Blog

Writing Web Apps with Google, Yahoo and Microsoft Maps

Google Maps
Google provides a nice API allowing developers to integrate Google Maps to their web applications. For that you first need to create a Google Map API key from here, http://code.google.com/apis/maps/signup.html. It is free and you can create as many amount of keys as needed for all of your web sites. After generaing the key [...]


Dimuthu's Blog

Using AXIOM/C As The XML Object Model

In Apache Axis2/C AXIOM is used as the basic object model to represent XML. AXIOM provide a DOM like API that allows to traverse and build the XML very easily.
Anyway in underneath, AXIOM is different from DOM, as it has used some techniques to optimize the parsing of the XML as suited specially for SOAP [...]