Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Finesse Developer Center
Overview
Documentation
Community
Blogs
Cisco Live Update
Theodore Phipps
| 17 May 2013
Tweet
Finesse Developers,
Are you excited about Cisco Live in Orlando? We are because we're anxious to share all of the progress that the Finesse team has made over the past year. We also want to provide details on our Finesse 10.0 release.
There are two Finesse sessions this year:
BRKCCT1031 -- Cisco Finesse: Revolutionizing the Agent Experience
BRKCDN1001- Programming with the Finesse API
...Read More
"Installing" the Finesse CUIC sample gadget
David Lender
| 16 Apr 2013
Tweet
Finesse gadgets can be hosted on your own web server or on the Finesse server itself.
To host gadgets on your own web server, you host the gadget just as you would any web site. You could use IIS, Apache, etc. That is up to you.
...Read More
Getting Started with Finesse Gadgets
David Lender
| 16 Apr 2013
Tweet
bMost of the information you need is in this Finesse Developer Center and there is a detailed presentation for Finesse Developers here
https://communities.cisco.com/docs/DOC-28452
You can explore the Finesse Developer Center
http://developer.cisco.com/web/finesse
and if you can’t find what you need, let us know.
...Read More
SampleGadget_WebService posted
David Lender
| 27 Mar 2013
Tweet
I. Disclaimer
-------------------------------------------------------------------------------
The SampleGadget_WebService sample gadget is intended to serve as an example of
using the gadgets.io.makerequest function to make a request of a web server that is
accessible via Finesse server.
This is only a sample and is NOT intended to be a production quality
...Read More
SampleGadget_Logging gadget posted
David Lender
| 26 Feb 2013
Tweet
The SampleGadget_Logging sample gadget is intended to serve as an example of initializing and using the
Finesse logger.
This sample illustrates how to initialize the logger and log a message to the console and the Finesse agent logs on the Finesse server.
1. initialize private var
clientLogs = finesse.cslogger.ClientLogger;
2. connect with hub
...Read More
Showing 1 - 5 of 22 results.
Items per Page 5
Page
(Changing the value of this field will reload the page.)
1
2
3
4
5
of 5
First
Previous
Next
Last
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to General Questions
Cannot connect to BOSH on the Finesse Server
Threads [
Previous
|
Next
]
Scott Baumann
Posts:
8
Join Date:
8/31/10
Recent Posts
Cannot connect to BOSH on the Finesse Server
bosh xmpp finesse
ajax
cisco
error 400
jetty
library reference
uri
xmpp
Answer
12/10/10 4:35 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I'm trying to connect to BOSH on the Finesse Server. The Cisco AJAX XMPP Library reference states that to test the BOSH server, I should get an HTTP ERROR 400 when I navigate to 'http://some-bosh-server.com:7335/httpbinding'
When I navigate to http://<MyFinesseServerIP>:7335/httpbinding, the connection times out. Looking at the port section of the install guide, it looks like BOSH is open on port 7071. I tried to navigate to http://<MyFinesseServerIP>:7071/httpbinding and I am getting a 404. Does the BOSH server on the Finesse machine require a different URI?
<h2>HTTP ERROR: 404</h2>
<pre>NOT_FOUND</pre>
RequestURI=/httpbinding
<small>
Powered by Jetty://
</small>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Harry Bui
Posts:
1
Join Date:
12/23/08
Recent Posts
RE: Cannot connect to BOSH on the Finesse Server
Answer
12/14/10 12:53 AM as a reply to Scott Baumann.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I'm trying to connect to BOSH on the Finesse Server. The Cisco AJAX XMPP Library reference states that to test the BOSH server, I should get an HTTP ERROR 400 when I navigate to 'http://some-bosh-server.com:7335/httpbinding'
When I navigate to http://<MyFinesseServerIP>:7335/httpbinding, the connection times out. Looking at the port section of the install guide, it looks like BOSH is open on port 7071. I tried to navigate to http://<MyFinesseServerIP>:7071/httpbinding and I am getting a 404. Does the BOSH server on the Finesse machine require a different URI?
<h2>HTTP ERROR: 404</h2>
<pre>NOT_FOUND</pre>
RequestURI=/httpbinding
<small>
Powered by Jetty://
</small>
The URI bind specified by the CAXL documentation is different from the bind that Finesse uses. For Finesse, please use
http://<MyFinesseServerIP>:7071/http-bind
. The Developer Guide should mention the correct URI bind, as well as the README that came with the CDN samples.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Roopa Trivedi
Posts:
2
Join Date:
9/25/10
Recent Posts
RE: Cannot connect to BOSH on the Finesse Server
Answer
12/14/10 2:53 AM as a reply to Scott Baumann.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Scott,
The correct url to use for a BOSH connection for Finesse is -
http://<host>:7071/http-bind/
Let me know if this does not work.
Thanks,
Roopa
I'm trying to connect to BOSH on the Finesse Server. The Cisco AJAX XMPP Library reference states that to test the BOSH server, I should get an HTTP ERROR 400 when I navigate to 'http://some-bosh-server.com:7335/httpbinding'
When I navigate to http://<MyFinesseServerIP>:7335/httpbinding, the connection times out. Looking at the port section of the install guide, it looks like BOSH is open on port 7071. I tried to navigate to http://<MyFinesseServerIP>:7071/httpbinding and I am getting a 404. Does the BOSH server on the Finesse machine require a different URI?
<h2>HTTP ERROR: 404</h2>
<pre>NOT_FOUND</pre>
RequestURI=/httpbinding
<small>
Powered by Jetty://
</small>
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Scott Baumann
Posts:
8
Join Date:
8/31/10
Recent Posts
RE: Cannot connect to BOSH on the Finesse Server
Answer
12/15/10 2:08 AM as a reply to Roopa Trivedi.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Scott,
The correct url to use for a BOSH connection for Finesse is -
http://<host>:7071/http-bind/
Thank you very much! -This worked perfectly.
FYI - For those of you trying to use Apache mod_Proxy to proxy the BOSH connection, if you are not getting the 400 (BAD REQUEST) error, you may need to add "ProxyErrorOverride On" to your proxy.conf, as well as run "/usr/sbin/setsebool httpd_can_network_connect 1"
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Guna Sekhar Reddy
Posts:
2
Join Date:
5/17/12
Recent Posts
RE: Cannot connect to BOSH on the Finesse Server
Answer
5/18/12 10:30 AM as a reply to Scott Baumann.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Scott,
I'm new to this kind of development. And I'm trying to connect to finesse and login as an agent using XMPP library. Hre is the script I'm using
client = new jabberwerx.Client();
var arg = {
httpBindingURL: 'http://192.168.10.197:7071/finesse/api/User/1025',
successCallback: function() {
alert("agent is connected");
},
errorCallback: function(evt) {
alert("agent is not connected");
}
};
client.event("clientStatusChanged").bind(function(evt) {
if (evt.data.next == jabberwerx.Client.status_connected) {
alert("connected");
client.sendMessage("1025@192.168.10.197", "Hello XMPP User.");
}
else
{
alert(evt.data.next);
}
});
client.event("messageReceived").bind(function(evt) {
var message = evt.data;
var body = message.getBody();
if (body) {
alert("From " + message.getFrom() + ": " + body);
}
});
jabberwerx.$(document).bind("ready", function() {
client.connect("1025@192.168.10.197", "1025", arg);
});
which is taken from reference documents provided in the XMPP library. However I'm not able to login.
As you have worked on this, please help me to learn how to do this.
I would really appreciate your quick help.
Thanks in advance
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Lender
Posts:
178
Join Date:
4/4/08
Recent Posts
RE: New Message from Guna Sekhar Reddy in 2385312 - General Questions: RE:
Answer
5/21/12 6:41 PM as a reply to Guna Sekhar Reddy.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Due to same-origin policy (https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript) in browsers, the JavaScript cannot perform JS connections to a host+domain that is different from where the page is being hosted on. There are a few solutions (all having pros and cons).
1. Create a proxy where a specific path is rerouted to the host:7071. This has a performance impact.
2. Using CORS (cross-origin resource sharing). This requires server support. http://enable-cors.org/
3. Create another IFRAME that loads a page with the JW connect code seen below. The IFRAME will then pass all the events and connection information through the iframe to other frames using HTML5 post-message. This is what Finesse does. It requires the use go post-message which is only supported in newer browsers which is one of the reasons Finesse is supported on IE8+ and not lower.
#1 and 2 above are described in the JW docs http://jabberwerx.cisco.com/jwa//trunk/doc/api/deploymentGuide.html <http://jabberwerx.cisco.com/jwa/trunk/doc/api/deploymentGuide.html>
Hope this helps!
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
David Lender
Posts:
178
Join Date:
4/4/08
Recent Posts
RE: Cannot connect to BOSH on the Finesse Server
Answer
8/16/12 4:13 PM as a reply to David Lender.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
A Finesse non-gadget sample is now available in the Tools section of the Finesse Documentation page here
http://developer.cisco.com/web/finesse/docs
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available