[JDEV] setting a user's vcard from within a component

Jacek Konieczny jajcus at bnet.pl
Tue Nov 18 07:42:46 CST 2003


On Tue, Nov 18, 2003 at 01:13:47PM +0100, Stefan Strigler wrote:
> Hi,
> 
> Am Die, 2003-11-18 um 12.49 schrieb Jacek Konieczny:
> > On Tue, Nov 18, 2003 at 11:24:19AM +0100, Stefan Strigler wrote:
> > > So a generated packet looks like this:
> > > 
> > >  <iq type='set'><vcard xmlns='vcard-temp'><FN>bruno</FN></vcard></iq>
> > 
> > XML is case-sensitive. The iq's child name should be "vCard" not
> > "vcard".
> 
> Thanks for the hint. Unfortunately the result is exactly the same if I
> use "vCard" instead of "vcard".

Try setting "to" attribute of <iq/> element to the domain of your server
or to your bare JID.

Greets,
	Jacek



More information about the JDev mailing list