1) iq packet's don't generatlly have XML namespaces. Instead, you'd
probabbly want to apply the namespace the the child XML tag of the iq.
For example, jabber searches take the form:

<iq type="get" to="jud.myserver.com">
  <query xmlns="jabber:iq:search">
  </query>
</iq>

2) You said yourself that you're sending XML messages. While that's a
really open requirement, it's altogether possible that the <message>
packet type might actually be more appropriate in your case.

IQ's will never be stored offline anyways, as I understand it. IQ's are
really only appropriate in cases where you're expecting an immediate
reply.

On Thu, 2002-11-07 at 04:51, Wojciech Dec wrote:
> Hi,
> 
> 
> I am going to use Jabber in my project.  I need to send
> XML messages between two (or several) applicatoins.  It
> seems using XML-RPC with <iq xmlns='jabber:iq:rpc'/> is
> the best way to do that but I need to store messages if
> another part is offline.
> 
> When I send such a message using xmlns='jabber:iq:rpc' to
> an offline user I get:
> <error code='503'>Service Unavailable</error>
> 
> Can <iq xmlns='jabber:iq:rpc'/> message be stored like
> <message/> one on server?
> 
> If not I will turn to a <message/> solution sugessted at
> http://mailman.jabber.org/pipermail/jdev/2002-March/010906.html
> 
> I suppose many people already implemented similar things
> so I will be grateful for any hints how to deal with this.
> Are there any convenient libraries for this (Java and
> something I can easily integrate with VB application)?
> 
> 
> Thanks for any help.
> 
> 
> Regards,
> 
> Wojciech Dec
> 
> 
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
-- 
Jeremy Nickurak <[EMAIL PROTECTED]>
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to