Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bearstand #1
Member since Feb 2009 · 5 posts · Location: China
Group memberships: Members
Show profile · Link to this post
Subject: MiniClient for windows mobile
Hi
Now ,the Miniclient works fine. That 's a test.
But,When I deployment the MiniClientWM5 to my windows mobile simulator,it can't work though complie had nothing wrong.
And its strange that when I run the MiniClientWM5.exe directly ,it runs normally.
the debug message show that:
[Image: http://bbs.dkp.com.cn/uploads/attachments/200902/06/1024328attachlyEwGA.jpg]

when I run the MiniClientWM5 derectly,it run nomally.
[Image: http://bbs.dkp.com.cn/uploads/attachments/200902/06/1024331attachy0mset.jpg]
debug message is :
SEND:<stream:stream to='wqw.net.cn' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV:<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="wqw.net.cn" version="1.0" xml:lang="en" id="aecba99a" >
RECV:<stream:features xmlns:stream="http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" /><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</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>
SEND:<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV:<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
SEND:<stream:stream to='wqw.net.cn' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV:<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="wqw.net.cn" version="1.0" xml:lang="en" id="aecba99a" >
RECV:<stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</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>
SEND:<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
RECV:<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09Indxdy5uZXQuY24iLG5vbmNlPSJkdzBYSUliRkhuYkhzNXYrMUluVUxoTWxkVEFtUjVGUmxHaEFiMnMwIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
SEND:<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9InR6dyIscmVhbG09Indxdy5uZXQuY24iLG5vbmNlPSJkdzBYSUliRkhuYkhzNXYrMUluVUxoTWxkVEFtUjVGUmxHaEFiMnMwIixjbm9uY2U9IjY3M2FhODFjM2E1ZWNlZjkwOTJiZjUxZWI3NWM2YjAzNDU4OWRjYzE2MWJjMjI5ZWQ5ZGI2ZDI5Y2Y0MGJiNWMiLG5jPTAwMDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvd3F3Lm5ldC5jbiIsY2hhcnNldD11dGYtOCxyZXNwb25zZT1mNzA5MzRjNjBhMzgzMTY1NzdlMjcwYjNkZTNjNmYwZQ==</response>
RECV:<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD03NDQwNzRhOTQxODYwNDE1ODM4ODgzOGJmMGJmMDYxZQ==</success>
SEND:<stream:stream to='wqw.net.cn' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV:<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="wqw.net.cn" version="1.0" xml:lang="en" id="aecba99a" >
RECV:<stream:features xmlns:stream="http://etherx.jabber.org/streams"><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></stream:features>
SEND:<iq id="agsXMPP_1" type="set" to="wqw.net.cn"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind></iq>
RECV:<iq xmlns="jabber:client" from="wqw.net.cn" to="wqw.net.cn/aecba99a" type="result" id="agsXMPP_1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>tzw@wqw.net.cn/MiniClient</jid></bind></iq>
SEND:<iq id="agsXMPP_2" type="set" to="wqw.net.cn"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
RECV:<iq xmlns="jabber:client" from="wqw.net.cn" to="tzw@wqw.net.cn/MiniClient" type="result" id="agsXMPP_2"><session xmlns="urn:ietf:params:xml:ns:xmpp-session" /></iq>
SEND:<iq id="agsXMPP_3" type="get" to="wqw.net.cn"><query xmlns="jabber:iq:agents" /></iq>
SEND:<iq id="agsXMPP_4" type="get"><query xmlns="jabber:iq:roster" /></iq>
RECV:<iq xmlns="jabber:client" from="wqw.net.cn" to="tzw@wqw.net.cn/MiniClient" type="error" id="agsXMPP_3"><query xmlns="jabber:iq:agents" /><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
RECV:<iq xmlns="jabber:client" to="tzw@wqw.net.cn/MiniClient" type="result" id="agsXMPP_4"><query xmlns="jabber:iq:roster"><item jid="bearstand@wqw.net.cn" subscription="both" /></query></iq>
SEND:<presence><status /><priority>0</priority></presence>
SEND:<presence><status /><priority>0</priority></presence>
RECV:<presence xmlns="jabber:client" from="bearstand@wqw.net.cn/Glu" to="tzw@wqw.net.cn/MiniClient"><status>Hello</status><priority>1</priority><c xmlns="http://jabber.org/protocol/caps" ver="UxE4aU1uuN4i1PP2PU8Kni0LUjM=" node="http://glu.net/#0.4.4" /></presence>
RECV:<iq xmlns="jabber:client" from="bearstand@wqw.net.cn/Glu" to="tzw@wqw.net.cn/MiniClient" type="get" id="agsXMPP_189"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
RECV:<iq xmlns="jabber:client" from="bearstand@wqw.net.cn/Glu" to="tzw@wqw.net.cn/MiniClient" type="get" id="agsXMPP_191"><query xmlns="http://jabber.org/protocol/disco#info" /></iq>
SEND:
RECV:<presence xmlns="jabber:client" from="bearstand@wqw.net.cn/Glu" to="tzw@wqw.net.cn/MiniClient"><show>away</show><status>Hello</status><priority>1</priority><c xmlns="http://jabber.org/protocol/caps" ver="UxE4aU1uuN4i1PP2PU8Kni0LUjM=" node="http://glu.net/#0.4.4" /></presence>
RECV:<presence xmlns="jabber:client" from="bearstand@wqw.net.cn/Glu" to="tzw@wqw.net.cn/MiniClient"><status>Hello</status><priority>1</priority><c xmlns="http://jabber.org/protocol/caps" ver="UxE4aU1uuN4i1PP2PU8Kni0LUjM=" node="http://glu.net/#0.4.4" /></presence>

So,I don't clear why?
Please help me!
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
  • are you using the correct assembly for CF?
  • did you deploy the crypto.dll to your emulator?

Normally you cannot run the CF projects on the normal .NET framework because the agsXMPP assemblies are different.
Can you try with UseTls = false first? If this works please try with Tls again.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS