My wap chat integration with openfire

somebody help me…I want make wap chat with php. I want to integrate it with openfire, in order to connect with Yahoo Messenger. What steps should I take or whether there is a tutorial that talks about it. please give me answer quickly.