Hi!
Unfortunately I don’‘t have a solution but I’'ll try to give you some tips that may help you.
-
Check that jabberd supports RPC and that it’'s configured appropriately.
-
According to this link http://www.jivesoftware.com/jive/thread.jspa?forumID=39&threadID=8565 it’'s possible that the to attribue is missing in the IQ packet.
-
I suggest checking the IQ packet that you are sending to the server and make sure that it follows this specification. http://www.jabber.org/jeps/jep-0009.html
-
If none of the above tips helped you then I recommend posting this issue to jabberd’'s mailing list.
Regards,
– Gato
“1. Check that jabberd supports RPC and that it’'s configured appropriately.”
I don’'t know about it. Does Nobody Know ??
"2. According to this link
http://www.jivesoftware.com/jive/thread.jspa?forumID=39&threadID=8565 it’'s possible that the to attribue is missing in the IQ packet.
- I suggest checking the IQ packet that you are sending to the server and make sure that it follows this specification.
http://www.jabber.org/jeps/jep-0009.html"
Well, I send this IQ Packet :
<query xmlns=’‘jabber:iq:rpc’’>test< /query>
It seems the section “to” is correct. It follows the JEP’'s specification.
Thanks for your answers
From your XML I suppose that the target of your XML is a service within the server. So if the XML that you are sending is correct then the problem must be in the server. Since you are getting a “Service Unavailable” error I presume that jabberd does not support Jabber-RPC or is not properly configured.
Since this is a jabberd issue, I recommend posting this issue to http://www.jabberstudio.org/cgi-bin/mailman/listinfo/jabberd.
Regards,
– Gato
I would like to send this IQ packet to a client which reply with the result… It’‘s certainly the problem’‘s cause!!! It isn’'t possible to send an IQ packet to client???
I have posted my question on the jabberd’'s mailling list.
A lot of thanks for your help, Gato!