I am fairly new to the web services world but have knowledge of log4j.
log4j
I need to implement a functionality which will send the log messages to a web ser
I suggest you have a look at this article: http://www.ibm.com/developerworks/webservices/library/ws-log4j/index.html
It specifically describes using the WebServiceAppender.
Ah, Google!