Cisco Unified Presence APIs Developer Forums

« Back to XMPP

Smack libraries and Vcard support

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi everybody,
 
I'm developing a custom client based on Ignite Smack 3.2 libraries. My client is connecting properly to CUP but when I try to get a Buddy's personal Vcard I'm getting this: 
 

service-unavailable(503)
at org.jivesoftware.smackx.packet.VCard.doLoad(VCard.java:556)
at org.jivesoftware.smackx.packet.VCard.load(VCard.java:537)
at Main.testVCard(Main.java:102)
at Main.startTest(Main.java:143)
at Main.main(Main.java:50)


The code is below:



public void testVCard(){
VCard vcard=new VCard();
try {
vcard.load(conn,TOUSER);
System.out.println(vcard.toXML());
} catch (XMPPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}



It seems that the service is not available on CUP side. Is there any configuration I have to enable on CUP side? Is there something I miss?


Thanks in advance,


Mirko