[jdev] Incorrect Encoding
ARP
alexandrepires2007 at yahoo.com.br
Wed Nov 15 10:25:23 CST 2006
Hi Guys,
Well, I am trying make a auth in talk.google.com, but I am having some problems.
When I receive from the server:
<?xml version="1.0" encoding="UTF-8"?>
<stream:stream from="gmail.com" id="CC83300E366C0B75" version="1.0"> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>
PLAIN</mechanism>
<mechanism>
X-GOOGLE-TOKEN</mechanism>
</mechanisms>
</stream:features>
I answer with:
<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN"/>
But the server sends to me:
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<incorrect-encoding/>
</failure>
</stream:stream>
Why this is happening ?
Please give some help
Thx
Alexandre
Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20061115/a9646fda/attachment-0002.htm>
More information about the JDev
mailing list