cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1238
Views
2
Helpful
1
Replies

jabberwerx.js Version 9.7.0

jmennear
Cisco Employee
Cisco Employee

I have a Jabber 9.7 that I am trying to connect to with the XML interface.

The jabberwerx.js file I have has a version number of:

jabberwerx = {

        /**

         * JabberWerx Version

         * @property {String} version

         * @type String

         */

    version: '8.6.1.28927',

Is there a later version that I should be using?

I am getting XML formatting errors and failure to log in:

<stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>


this is the Javascript code I am running:

                    var arg = {
                        httpBindingURL: demoConfig.httpBindingURL,
                        successCallback: function success() {
                            jabberwerx.$("#log").text("<br/>" + "connection successful");
                            this; //The client
                        },
                        errorCallback:  function(err) {
                            var tstr = jabberwerx.util.serializeXML(err);
                            jabberwerx.util.debug.warn(tstr);
                            jabberwerx.$("#log").text("Could not connect: " + tstr);
                        }
                    }

                    //connect to server using username, password and arguments specified above
                    client.connect(jabberwerx.$("#username").val() + "@" + demoConfig.domain,
                           

jabberwerx.$("#password").val(), arg);

-john

1 Reply 1

Geevarghese Cheria
Cisco Employee
Cisco Employee

     Redirectiong to  this url -Debugging Jabber Integration, Where To Start  Since its the same issue.