Why there is no reply at the openfire?

I have developed a simple socket client to communicate with openfire.The configuration at the client is no problem,which has been tested with a simple socket server.But when I sent my XML text to the openfire,the server didn’t give any reply.My XML text is “<stream:stream to=‘localdomain’ xmlns=‘jabber:client’ xmlns:stream=‘http://etherx.jabber.org/stream’ version=‘1.0’>”.I have tried several methods,but no way.Please give me some tips.Thank you!