ColdFusion - Event Gateways

Hey guys, I am probably being really stupid here…but I know when to admit defeat. I am trying to set up a ColdFusion xmpp gateway using openfire which is installed locally on one of our Dev machines. I have put spark on several other machines and can connect to the one with openfire using the various user accounts I have created. However I cannot get a connection between ColdFusion and Openfire. Is there anyone who has had a similar problem and solved it? Or am I the only one?