from openfire. It is clear because openfire don’t know how to handle it.
No, openfire is completly agnostic to the content of IQs that are not directed to openfire itself. The service-unavailable error is usually send by xmpp entities if they don’t know how to handle the IQ. Please show use the full IQ get/set stanza and the full IQ responise error stanza.
in other words, openfire do not need to handle it, just pass it will be fine.
That is already the case.
it’s so good that I don’t need to open another project : )
here is my get IQ and Error IQ.
GETP
GETP
is there anything suspicious in the stanza? I missed the from and xmlns attributes in first iq, is that the problem?
whats weird is the error iq seems come directly from the server because the client didn’t receive anything, and the error IQ is just the same after I disconnect the "test@mobilevisionart.com" client.
I am still digging in and checking the code… see what i can find…
Yes, you send it to a bare JID, which means the server is required to handle it (see rfc6121 8.5.2.1.3), whereas you likely would want to send it to a full JID.