I was trying to work with CAXL API using BOSH service while waiting for RESTfull interface. I downloaded CAXL API and tried to work with samples as my first step.
I was playing with sampleclient demo and setup the configuration of BOSH service inside sampleclient.html in the CAXL download as
var demo_config = {
domain: "xxx.com",
maxGraphAge: 5,
unsecureAllowed: false,
atSymbolAllowed: false,
logPersistence: false,
serviceDiscoveryEnabled: true,
httpBindingURL: "http://10.1.12.212:7335/httpbinding",
httpBindingURL_secondary: "http://10.1.12.212:7335/httpbinding"
};
When I enter the same credentials as I do with Jabber, i get the following on the screen. So it appears that service is not working or I am not using it properly. I think one
Log 08:17:56:692 User home node is : undefined
Log 08:17:56:698 _connectSecondaryBindingURL= false
Log 08:17:56:700 Stored home node is : null
Log 08:17:56:702 Stored backup node is : null
Log 08:17:56:704 _connectToNode node is : null
Log 08:17:56:707 Initializing candidate nodes array.
Log 08:17:56:709 Cross site is true.
Log 08:17:56:712 Update _connectToNode = 10.1.12.212
Log 08:17:56:713 Bosh URL is: http://10.1.12.212:7335/httpbinding
Log 08:17:56:807 network timeout retry 1
Log 08:17:57:414 network timeout retry 2
Log 08:17:58:008 network timeout retry 3
Log 08:17:58:620 Stream closedwith error

peration failed (<stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>)
Log 08:17:58:623 closed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>
Log 08:17:58:625 Failed to connect to SD-Primary Node, binding URL =http://10.1.12.212:7335/httpbinding, and now try the SD-Secondary Node binding URL=http://10.1.12.212:7335/httpbinding
Log 08:17:58:629 Cross site is true.
Log 08:17:58:631 Update _connectToNode = 10.1.12.212
Log 08:17:58:633 Bosh URL is: http://10.1.12.212:7335/httpbinding
Log 08:17:58:728 network timeout retry 1
Log 08:17:59:330 network timeout retry 2
Log 08:17:59:933 network timeout retry 3
Log 08:18:00:544 Stream closedwith error

peration failed (<stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>)
Log 08:18:00:548 closed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>