We’re investingting XIFF with our 100% Flexed based CRM application. Right now, we’re creating a simple driver Flex application to test the API. We’ll be happy to contribute the Flex driver application once it is done and if the community would like it.
Trying to get over some hurdles. In sending a message, we get an exception:
Error #1034: Type Coercion failed: cannot convert org.jivesoftware.xiff.data.xhtml::XHTMLExtension@162e241 to org.jivesoftware.xiff.data.ISerializable.
at org.jivesoftware.xiff.data::XMPPStanza/serialize()[C:\Documents and Settings\John\My Documents\Flex Builder 3\XIFF\src\org\jivesoftware\xiff\data\XMPPStanza.as:116]
at org.jivesoftware.xiff.data::Message/serialize()[C:\Documents and Settings\John\My Documents\Flex Builder 3\XIFF\src\org\jivesoftware\xiff\data\Message.as:86]
at org.jivesoftware.xiff.core::XMPPConnection/send()[C:\Documents and Settings\John\My Documents\Flex Builder 3\XIFF\src\org\jivesoftware\xiff\core\XMPPConnection.as:306]
We added the serialize( parent:XMLNode) : Boolean and deserialize( node:XMLNode ) : Boolean methods to XHTMLExtension.as file as suggested in another post, we got the above error.
With:
var msg : Message = new Message( null, null, ‘Hello World’, ‘Hello World’, null, Message.CHAT_TYPE );
this.open_fire_server.send( msg );
we get the error
With:
var msg : Message = new Message( null, null, ‘Hello World’,null, null, Message.CHAT_TYPE );
this.open_fire_server.send( msg );
we dont get the error, but nothing in repsonse and a different error:
Error: Error #2002: Operation attempted on invalid socket.
at flash.net::Socket/writeUTFBytes()
We’re pretty good with Action Script and Flex, so we are eager to help to get XIFF out of beta. It will be crititcal of our CRM application to have this work. Just need to guidance and assistance to get over the bumps.