Posts

Showing posts from 2011

Documentation-patch submission for Apache issues

Image
Submitting a patch for a documentation issue is same as submitting a patch for a code issue. Only thing to be noticed is where the source code for sites resides. Here I am sharing the steps in a very basic level as helpful for a beginner, from identifying an issue to the submission of patch. Note:The sample commands I am using here are for linux and for other environments the relevant commands should be applied for same functionality. After identifying the issue from Apache issue navigator , check out the relevant files directory from apache SVN.  Navigate to the relevant .xml files and do the improvements or corrections needed and make sure the xml validation is done and the document is presented as it is intended to be.  Lets see how the changes are applying. In the top level directory that includes all the changes and improvements enter the following command.  eg : svn co http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/src/site/xdoc/ ...

WSO2Con - 2011

Image
WSO2Con - 2011 , the event of the year! I found it a great a pleasure to have a chance to attend this event, which is to be a huge event in middle-ware industry with participations from Google, IBM and eBay and a perfect pool for technology lovers. Only few lucky students will get the chance to be there at student rates. But the great news is still you can reserve your place for a very low price regrading the value of this three-day conference with two more days in tutorials. Try and see whether you can catch the early bird rates too. Check out event agenda and the registration page for more information. Here is what Dr. Sanjiva Weerawarna CEO-WSO2 has to say about the event.

MIT-AITI Experience–Part 3 /Demo Day

Image
It was our dream day, it was the day we waited to show off the results of the intensive hard work we did in just 6 weeks and got the maximum of out of it. I will be sharing that experience with this post. We have been finished developing our product to the level to do a live demo by that time and unfortunately with the nature of our product ‘ThenaHari’, we were unable to perform it inside a conference hall. Following were the problems we had and the solutions we found with the help of Samidh, Lisa and Micheal. Simulate an outside journey inside a hall – We developed a simulator that mimics the path of a passenger travelling in a bus route. This simulator was mainly developed by Manoj, one of mobiAssist co-founders, with the contribution of others. This also solved the problem of not having a way to access a the LBS(Location Based Service) of service provider to track passenger location which was great.  Making the alert via fake call – As we still did not had access to a s...

MIT-AITI Experience–Part 2

I am writing after completing the whole course and becoming a director and a co-founder of the company mobiAssist, the creator of ‘ThenaHari’. I would like to begin the story from where I stopped at previous post.   After having fun at the end of 2nd week with elevator pitch competition we had a week filled with technical stuff with the help and guidance Micheal. Parallel to that Samidh and Lisa introduced us to the marketing principles, entrepreneurship skills and presenting and lot more. Those rest 4 weeks became so intensive with work and of course lot of fun too. Below I will be describing few important events that took place during those 4 weeks. Our product page product page at MIT site can be found in the given link. A photo coverage total photo coverage on overall program can be found .   Hackathon This was a really cool and challenging experience. We were given 24 hours to complete as much as we can in our products and the group which create the most progres...

MIT - AITI experience

Image
How I got the chance to join I got the chance to join the MIT-AITI (which was Massachusetts Institute of Technology, African Internet Technology Initiative and now goes as Asian ) program while I was completing my internship period of 24 weeks. Thank to WSO2, where I was having my internship I could get a release to join the program for 6 weeks and I am writing this just after the 2 week of the AITI program. As I feel that I have used that time effectively, hope to keep a note on what I got. Today was a more challenging and interesting day and it will be worth to have a note on what I have done in the course so far. An overview on the course can be found in the given link. Very first day At the very first day we were emphasized on the purpose of the course is not just to teach us mobile technologies, but also to make people use them as real applications. In brief we were at the beginning of becoming entrepreneurs initializing a company based on mobile applications. Honestly I fel...

A sample on calling WSO2 Identity Server functionalities through the API

This sample demonstrates how to authenticate a user and to allow that user to access authorized resources(services), using the API of WSO2 Identity Server (WSO2IS). Simply this simulates few functions without the GUI of the server. Scenario:  After authentication, if user is authenticated having the role of 'admin', will have privileges to add or remove XACML policies, and evaluate them against sample requests. Following are the steps to be demonstrated. Log into server after authentication Add a policy from local machine Read the enabled policy of the server Remove a policy Evaluate the enabled policy against a request Start the Identity Server as explained in user guide . Just extracting the downloaded file, setting up JAVA_HOME environment variable and running .sh or .bat script according to your operating system. Open the downloaded project in your favorite IDE and add the plugins of the WSO2IS to the project dependencies. The plugins locati...

How to convert WSDL to Java

Image
Background Basically WSDL (Web Services Development Language) is an XML document used to describe or locate web services. WSDL stands for Web Services Description Language. The document describes a Web service. It specifies the location of the service and the operations that can be taken.  WSDL2Java is distributed with Axis2 package of Apache and need to set-up Axis2 to use this service. A  guide to set-up Axis2  can be found in apache organization documents .WSDL 2.0 is the currently using version. Obviously JDK should be properly installed too. Note: For the 3rd method you are not needed to set these things by yourself. The WSDL document includes server Java programs for Web services and generated classes using WSDL2Java feature includes client stubs, server skeletons and data types that can help in writing client side. The generated stub classes play a great role in distributed computing and if you are interested can read on  what are...