-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/05/2006, at 11:58 AM, Tobias Thierer wrote:
Is the following a legal XMPP packet (linebreaks inserted for readability)?

<iq id="rpc-0wLET-8" to="[EMAIL PROTECTED]/Biomatters" type="set">
  <query xmlns="jabber:iq:biomatters:rpc" version="1.0">
    <methodCall>
      <methodName>add</methodName>
      <params>
  <int>23</int>
  <int>42</int>
</params>
    </methodCall>
  </query>
</iq>

It is.

<iq id="rpc-WRH8A-8" to="[EMAIL PROTECTED]/Biomatters"
from="[EMAIL PROTECTED]/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. If you run tcpdump or similar, you should be able to see what the server is actually sending.

TX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEZ/1nuMe8iwN+6nMRAidkAKCAs+3hCtM6E/nSM87B2M8iIKCZWwCgjA/6
bbbW3aYDS371V1g6a7AA6MU=
=Pvje
-----END PGP SIGNATURE-----

Reply via email to