Hi,
here is what i get from theoretic.com doing such actions...

Client -> Server: [Size =93]
<iq type='set'><query xmlns='jabber:iq:roster'><item 
jid='[EMAIL PROTECTED]'/></query></iq>
Client -> Server: [Size =117]
<presence to='[EMAIL PROTECTED]' 
type='subscribe'><status>Please let me add you to my 
Contacts.</status></presence>
Server -> Client: [Size =87]
<iq type='result' from='[EMAIL PROTECTED]/skabber' 
to='[EMAIL PROTECTED]/skabber'/>

hope i could help you, Edrin
> Hello,
>     I'm working on presence subscriptions and I ran into a slight
> issue.  If a user requests to subscribe to the presence of himself (I
> did this accidently), the server should return an error.  I see that IQ
> has the capability to return errors, but need a little guidance as to
> how to form the error to send back to the client.
> 
> EX:
> CLIENT: '<presence to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
> type="subscribe"/>'
> 
> Maybe this isn't an error, and I'm just confused.
> 
> Thanks,
> Jamie
> 
> 
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
> 


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to