Applying patch sent by Senaka for Jira issue AXIS2C-894.
Applying patch sent by Senaka for Jira issue AXIS2C-894.



git-svn-id: fbb392d5347ebc45c06187f72dfd8bab02595dbf@611625 13f79535-47bb-0310-9956-ffa450edef68

axbannaz/axis2-c,axbannaz/axis2-c,axbannaz/axis2-c,axbannaz/axis2-c,axbannaz/axis2-c,axbannaz/axis2-c