Help ! I learned to  build xmpp Server.I used the spark as test client.But My 
XMPP Server cann't build connection with the spark client.
Here is the process:

as My Server receive socket connect message,I sent two xml stream to Spark for 
building session.

<?xml version='1.0' encoding='UTF-8'?><stream:stream 
xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client" 
from="isolation" id="5d19066" xml:lang="en" version="1.0">

<stream:features><starttls 
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><compression
 
xmlns="http://jabber.org/features/compress";><method>zlib</method></compression><auth
 xmlns="http://jabber.org/features/iq-auth"/><register 
xmlns="http://jabber.org/features/iq-register"/></stream:features>

but the Spark client send:
name id="sc340" unavailable

I am a beginner of XMPP Protocol.Please tell me what's wrong.
Thanks 

Martin 
Best Regards!
Best Regards!

Reply via email to