Can I use open fire api talk to WebService directly?

I’m new to XMPP and openfire.

I don’t know if openfire api can expose to WebService.

for example, the client side want to create a new chatroom. It will tell webservice to create a chatroom, then the webservice will call openfire api to create a chatroom.

Do I need use plugins as a interface to talk to webservice?

Hope someone can help me.

Thanks in advance. (964 Bytes) (33432 Bytes) (14454 Bytes) (8704 Bytes)