Wednesday, December 13, 2006

Invoking Web Services using Apache Axis2

My first article in went online today !!!


Thursday, November 02, 2006

XML 2006 – the world's oldest and largest XML gathering.

XML 2006 []will be held in Boston this December from 4 to 7. I am planing to do a tutorial on Apache Axis2 with the title “Apache Axis2 in action” [].

Tuesday, August 22, 2006

Using Axis2 build time for creativity :)

Axis2 takes 30 to 40 minutes for its build , so we (Chinthaka and myself) used those valuable time to create following coin arts;

Friday, July 21, 2006

Article - Axis2 session managment

Finally I was able to find an article on Axis2 session management , now the article is on line and I am very thankful for for helping to publish article on Axis2.

Like to read the article :)

Thursday, July 20, 2006

WSO2 team – look how profession they are :)

ApacheCon Asia in Colombo, Sri Lanka in August – Registration is now OPEN

ApacheCon Asia is the first ever Asian offering of the popular ApacheConConference of the Apache Software Foundation (ASF). ApacheCon Asiaprovides an excellent opportunity to experience first-hand what ASFtechnologies and development communities can do for you and yourenterprise.

The program consists of two technical tracks in the main conference anda large number of tutorials. In addition a "hackathon" will be held theday before the conference where attendees can interact with variousApache project developers and learn and contribute!
Priced at a very affordable level, the conference will be held inColombo, Sri Lanka from August 14th to 17th at the Trans Asia Hotel.

See for further details.

Register by Friday, August 4th and receive a 10% early bird discount!

Interested in sponsoring? See:

The ApacheCon Asia Organizing Team.

Sunday, June 25, 2006

Add dynamic Java code to your application

Did you ever wish your Java code could be dynamic like JavaServer Pages? That it could be modified and recompiled at runtime, with your application updating itself on the fly? This article shows you how to make your code dynamic. As such, some of your source code will be deployed, instead of compiled binary code

Friday, June 02, 2006

Accelerating Web Services Development with Axis2

I am planning to conduct a tutorial on Axis2 in ApacheconEU 2006. That will cover basis of Axis2 and explained how to use Axis2 in production environment.

for more info

Reading PDF file

You may already know that Adobe PDF reader can ready any PDF document , but I I did not know that :( (poor me).

Ctrl+shift+b - to hear the entire Document
Ctrl+shift+v - to hear the page
Ctrl+shift+c - to resume
Ctrl+shift+e - to stop
Open any PDF File and test.... unbelievable

If you want to read a particular page go to the page and click there and do as mentined above.

Saturday, May 06, 2006

Next generation web services engine is ready

May 5th was one of very valuable date in my life , I think it is same for all Axis2 development team. About two years of major contributions from both the development team and user community we were able to cross the magical and special 1.0 boundary , we spent day night to achieve this golden goal. Finally I proud to say that we have very stable , very user friendly and very flexible and expansible web services engine.

I am very proud of apache Axis2 team , everyone in the team contribute their maximum to improve the quality of Axis2.

Dr Sanjiva has written a excellent blog About Axis2 , their he has mentioned complete history of Axis2 , so why do I write the history of Axis2 again (see )

When developing an open source product with a big and high thech community , its not a simple task. So in past history of Axis2 there were big wars in the mailing list , that is because everyone in the list want a good product. Adding a new feature , changing an existing functionality was end with 10 to 15 mails. The most advantage point of that , it led us to have a better product.
Axis2 took few architectural decisions at first F2F;

-It wont support any JAX-RPC spec
- Core is independent of Transports and data binding / code generations
- Doc/lit centric

Keeping those in mind we developed Axis2 and add numerous features , honestly we have 1000 of features but we have list out in few in Axis2 site. The only reason is we did not have enough time for document all those. So without having proper documents it is worthless to include the features in the page. We will update both features and document very soon in the site.

Thursday, May 04, 2006

Axis2 1.0 Released

After nearly two years of development, we are very proud to announce the release of Apache Axis2 1.0!
Check out our official site:

Apache Axis2 is a complete re-design and re-write of the widely used Apache Axis SOAP stack to build on the lessons learnt from Apache Axis.

Apache Axis2 is more efficient, more modular and more XML-oriented than the older version. It is carefully designed to support the easy addition of plug-in "modules" that extend its functionality for features such as security and reliability.

A module supporting WS-Security (Apache Rampart) is available immediately and a module supporting WS-Reliable Messaging (Apache Sandesha) will be available within days.

Apache Axis2 not only supports SOAP 1.1 and SOAP 1.2, but it also has integrated support for the widely popular REST style of Web services: the same business logic implementation can offer both a WS-* style interface as well as a REST style interface simultaneously.

Apache Axis2 is built on Apache Axiom, a new high performant, pull-based XML object model that was released two days ago.

- Features -
Programming Model

- Improved, XML

-centric client API including full WSDL and policy support

- Support for any message exchange pattern

- Synchronous and asynchronous calls

- Archived service deployment model supporting full service encapsulation with versioning support

- Archived module deployment model supporting controlled extensibility with versioning support

- Hot deployment

- WS-Policy driven code generation extensions

- Flexible service lifecyle model

- Support for querying service's WSDL (using ?wsdl), schema (using ?xsd) and policies (using ?policy)

Supported Specifications

- SOAP 1.1 and 1.2

- Message Transmission Optimization Mechanism (MTOM), XML Optimized Packaging (XOP) and SOAP with Attachments

- WSDL 1.1, including both SOAP and HTTP bindings

- WS-Addressing (submission and final)

- WS-Policy

- SAAJ 1.1






Supported Data Bindings

- Axis Data Binding (ADB)

- XMLBeans

- JibX

- JaxMe


- WSDL2Java: Generate Java stubs and skeletons from a WSDL document.

- Java2WSDL: Generate a WSDL document from a Java class.

- Eclipse Plugins

- Intellij Idea Plugins

- Web application for administering Apache Axis2

Extension Modules

- Apache Rampart: Supporting WS-Security (and soon WS-Policy)

- Apache Sandesha2: Supporting WS-Reliable Messaging

(Apache Axis2 comes built in with a module that supports WS-Addressing.)

Known Issues and Limitations

- Recursive schemas (A includes B which includes A) may cause problems

- JaxMe data binding support is experimental

- Axis2-595: Hot redeployment in Apache Tomcat has problems

- Axis2-666: AddressingSubmissionInHandler does not deserialize EPR extensibility attributes and elements

- AXIS2-667: Operation dispatch based on message body has a known issue

- Axis Data Binding (ADB) does not cover all of XML Schema; its an 80-20 design point. Unsupported XML Schema features include:

- Simple content extension and restriction

- Complex content restriction

- ADB does not support xsi:type based deserialization at runtime

- No support yet for unwrapping of doc/lit WSDL files (in stub generation)

- No support yet for rpc/encoded style WSDL documents (in stub generation)

Thank you for your interest in Axis2.
-The Axis2 Development Team

Sunday, April 23, 2006

Axis2 1.0 RC2 release

Hi all,
I uploaded Axis2 1.0 RC2 release artifacts. Please help us by
downloading and reviewing them.
Download locations :
* binary and source distributions -
* jars
* mars (addressing and security)
According to the release plan, I'm expecting to release Axis2 1.0 on
1st May, 2006.
Please note that these releases do not include xdocs but will be
available with 1.0 release as usual.

Saturday, April 08, 2006

Axis2 1.0 RC1 Release

I uploaded Axis2 1.0 RC1 release artifacts. Please help us by
downloading and reviewing them.

Download locations :
* binary and source distributions -

* jars

* mars (addressing and security)

According to the release plan, I'm expecting to release Axis2 1.0 on
21st April, 2006.

Please note that these releases do not include xdocs but will be
available with 1.0 release as usual.

Thursday, March 23, 2006

Axis2 0.95 Released

Apache Axis2 team is proud to announce the release of Axis2 0.95 version. You can download the release from : version 0.95 comes with 5 different packages, giving you the flexibility to select one of them to suit your own requirements. Please see for further details about different distributables.Complete Features List: 1. AXIOM, an XML object model working on StAX (Streaming API for XML) parsing optimized for SOAP 1.1/1.2 Messages. This has complete XML infoset support. 2. Support for One-Way Messaging (In-Only) and Request Response Messaging (In-Out). 3. Module Architecture, mechanism to extend the SOAP Processing model. 4. Module version support, can have multiple versions of the same module and use them depending on the requirement. 5. Content hierarchy 6. Archive based deployment model and Directory based deployment model 7. JWS like deployment (making Java class into Web service) 8. WSDL Code Generation tool for stubs and skeletons 9. WS-Addressing, both the submission (2004/08) and final (2005/08) versions 10. WSS4J module for security 11. Improved and user friendly Client API 12. WSDL2Java and Java2WSDL 13. REST (REpresentational State Transfer) Support 14. Transports supports: HTTP, SMTP, TCP, JMS 15. Raw XML providers 16. Support for MTOM/ MIME/ SwA 17. SAAJ implementation 18. DOOM 19. Pack/Unpack capability for the generated code 20. Axis Data Binding - ADB (Framework and Schema Compiler) 21. Numerous bug fixes since last release 22. Transport framework improvements (ListenerManager) - New 23. AxisServlet auto starts when the application server starts up - New 24. Module disengagemnt support - New 25. Loading modules (.mar files) from classpath - New 26. Sessions scoping for Application, SOAP, Transport and Request levels - New Experimental Features List: 1. Server side and client side Web service Policy support 2. ?wsdl and ?xsd support 3. Generating ServiceClient for a given WSDL and invoke the corresponding service using generated client Major Changes Since Last Release: 1. Transport framework improvements (ListenerManager) 2. The way to add an action mapping (wsamapping) has been moved from being a parameter to a child element. With this version onwards the way of adding an action mapping is as follows: MyMapping 3. Refactored following packages in Axiom: • - to • - to • - to • - to Tools Included In This Release: 1. Axis2 Web Application (Web App) 2. WSDL2WS - Command line version What's Still To Do?See list of what we think needs to be done, and consider helping out if you're interested and able! 1. JAX-RPC 1.1 and/or JAX-WS compliance 2. SOAP Encoding 3. Binary serialization and de-serialization support 4. Management Interface for Axis2 5. Implementation of other Transports. 6. Resource framework implementation (WS-RF) and Enterprise web services such as JSR 109 support 7. Completion of Interop tests Axis2 is taking shape, this 0.95 release is a glimpse of 1.0 that is coming soon. If you happen to have a vision of how the next generation Web services platform should be, contribute to Apache Axis2, and help us shape it. Any contribution in the form of coding, testing, submitting improvements to the documentation, and reporting bugs are always welcome.Thanks for your interest in Axis2!--- The Axis2 Development Team

Friday, February 03, 2006

Great Achievement in my life

We developed a fault tolerant system for SOAP based web services for my final year project, and which we named as FAWS. It’s not too easy to implement such a system as well as understanding FT concept is a challenge, but we did our best to complete the project.
I did not stop from that I really wanted to share what we gain from that project with others, so first I wrote an article on FAWS to Jax-magazine. And which was my first article in the life ……..
But I did not stop; I wrote couple of articles on Axis2 and published them in jax-magazine. In the meanwhile I was able to published articles on Jupiter media (developer. com).
Hmmm , that was not the end , I sent a article proposal to IBM developer works and they were very happy about that and asked me to send the article , so finally I my article on FAWS went online in IBM developer work today , isn’t it a good achievement ? for me it is :)

Thanks for everyone who help me to get this is done, specially
Patrick Flanders (Editor, SOA & Web Services Zone , IBM developerWorks)Dr Sanath Jayasena (Head Computer Science and Engineering , University of Moratuwa)
And my project members
Ruwan Wewagedara
Thejaka Jayasekara
Viranga Jayarathna

If interested in reading the article link

Wednesday, January 04, 2006

New Axis2 feature

Sanjiva and I came up with the idea of providing a way to make a java class into AxisService , so I implemented that last night and it work as we wanted. I feel that a very cool feature so if some one does not like to write services.xml or wsdl and in the mean while he wants to make java class into web service now he can do that.

the only requirement is the corresponding java file should be there in the class path , any way I will improve this to take actual java class not the name of the java class , in the mean while if I have time I will modify web admin guide to support this.

Note : To support any (not all) data types I made operation message receiver as RPCMessageReciver