[jdev] Help ! I learned to build xmpp Server.I used the spark as client.

Zuo Shuai zs08 at ustc.edu
Tue Jan 16 05:44:54 CST 2007




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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070116/f27adb92/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5675 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20070116/f27adb92/attachment-0002.jpeg>


More information about the JDev mailing list