[jdev] is this a legal XMPP packet? - server edits it!?

Tobias Thierer lists-2006 at tobias-thierer.de
Mon May 15 16:41:06 CDT 2006


Trejkaz wrote:

>>> <iq id="rpc-WRH8A-8" to="rpc_b at jabber.meta.net.nz/Biomatters"
>>> from="rpc_a at jabber.meta.net.nz/Biomatters" type="set">
>>>   <query version="1.0" xmlns="jabber:iq:biomatters:rpc">
>>>     <methodCall>
>>>       <methodName></methodName></methodName>
>>>       <params>
>>>         <int>23</int>
>>>         <int>42</int>
>>>       </params>
>>>     </methodCall>
>>>   </query>
>>> </iq>
> 
> 
> Are you sure this is what's actually coming out of the server?  My  bet
> is that whatever library you're using to print that packet out  has
> either parsed it incorrectly, or is formatting it incorrectly.

Precisely that was the case.

> If you
> run tcpdump or similar, you should be able to see what the  server is
> actually sending.

After I figured out how to disable TLS, I dumped the raw stream with
Ethereal, and found out the server sent correct data.

Thanks a lot for your comments,

  Tobias




More information about the JDev mailing list