powered by Jive Software

How to get XML string from the stanza in Smack 4.3 as toXml() is gone?


#1

Hi Team,

I am trying to migrate from smack 4.2.0 to 4.3.0-rc1.

I have all the things and remove all deperecated methods but only thing now stopping me to work with rc1 is it has stopped giving me Xml string from toXML().

So is there any way to get the xml string from the stanza ? @Flow

Thanks,
Hiren vavadiya


#2

I’m pretty sure that a short look at the source code had revealed that.

You want to use toXml(null), where you pre Smack 4.3 used toXml().