Webserver communicate with openfire

I have a web server on which there are many services,some services of these are usually invoked to send message to users via openfire.In this approach,my web server logon to openfire using smack and then send message to users.Can someone tell me if there a way my web server can invoke openfire directly to send message and not necessary to login to openfire first?

You can always create some sort of backdoor channel (non XMPP) via a plugin. The plugin will have full access to the internals of Openfire.

For example, I once built a bridge between JMS and XMPP as a plugin.