Openfire + IIS + ASP.Net

I have installed openfire on my windows server 2008 which is also hosting my asp.net based website on IIS. I want inetgrate an ajax based chat client with my website which uses the website’s database for login and user information and having the admin interface in asp.net as well.But i am totally null on how to make IIS communicate with the openfre server.
Can anyone please suggest something ??