Forms help

Greetings all,

I have installed Spark 2.5.8 with Openfire 3.6.4 and Smack 3.1.0 and I am trying to develop a JBoss mbean that acts as a client. I can sent messages from a Spark client to my MBean no problem but when I create a form using Smack and send it back to the Spark user, all the user gets is the body, no form is displayed. The form is in the message just before it is sent to the client.

Any ideas what I could be doing wrong? I followed the example in the extensions doc as best I could, seems to be a little out of date however. For example XMPPConnection does not have a createChat method nor does Chat have a createMessage method.

Any and all help is appreciated.

Earnie!