JSON Support in Apache Axis2

During the period of my internship at WSO2 I had the oppotunity of working on Apache Axis2 project. I implemented JSON support in Apache Axis2 after some research to understand the architecture of the Axis2 engine.

JSON (Java Script Object Notation) is another data exchangeable format like XML, but it is more lightweight and easily readable. It is based on a subset of Javascript language. Therefore, Javascript can understand JSON, and it can make Javascript objects by using JSON strings. JSON is based on key-value pairs and it uses colons to separate keys and values. JSON doesn’t use end tags, and it uses braces (curly brackets) to enclose JSON Objects.

Apache Axis2 is a Web services stack that delivers incoming messages into target applications. In other words it is basically a SOAP processing engine. In most cases, these messages are SOAP messages. In addition, it is also possible to send REST messages through Axis2. Both types of messages use XML as their data exchangeable format. So if we can use XML as a format, JSON is also a good replacement for XML in some applications.

To read more on this implementation, read the article, JSON Support for Apache Axis2 in the WSO2 Oxygen Tank.


About isurues
Age : 24 Date of Birth : 05.11.1984 Country : Sri Lanka

One Response to JSON Support in Apache Axis2

  1. H M says:

    Hi, I am trying to upgrade to java 1.8 from 1.6. The ws02dynamic-response-1.5.mar works fine with 1.6, but it complains about module.xml file cannot be found when i try to use it with 1.8. What can be the issue? Is there any alternative to ws02dynamic-response-1.5.mar that i can use with 1.8 ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: