05-31-2019 08:41 AM - edited 05-31-2019 08:58 AM
Hello folks,
I work in a contactcenter for Cisco. We run finesse on a server and use the finesse gui thats ships out of the box. Now we like to build some gadgets or even our own xmpp client.
I am able to get the jabberwerx.js file over the network resources of the finesse client page. I can also access finesse.js at assets/js/
However, I would like to get the full CAXL library, preferably as download. I found a couple pages with download links but none of them works.
I would really appreciate if someone could clarify how to get my hands on the complete CAXL library.
As a side question, would it even be good to use CAXL or should I rather use finesse.js?
Regards,
Nico
Solved! Go to Solution.
05-31-2019 10:27 AM
Hi,
CAXL isn't my area of expertise so don't quote me, but from my understanding, there isn't any development on CAXL and they just work with the internal teams on changes/fixes.
Thanx,
Denise
06-06-2019 08:57 AM
@rainbowstack wrote:
Hey Denise,
That's interesting. How would you listen to the updates from the notification service with the rest API?
I meant that you use the REST APIs to make a request. Then you listen to updates via the notification service. Not that you get updates from the notification service with the REST API.
@rainbowstack wrote:
This is how it all started. I was checking strophe and thought: well, it doesn't look too maintained anymore and why shouldn't I use Cisco's hand crafted XMPP client that uses also BOSH, namely jabberwerx? So I found out this is part of CAXL and that's why I came here.
Well, CAXL isn't maintained either. You can choose which one to use. They are pretty much the same. But whats out there is what is available. I am not aware of a new version of CAXL.
Thanx,
Denise
05-31-2019 09:32 AM
Hi,
You should use the finesse.js because it is tested and fully supported. If you use the CAXL library, you are on your own.
Thanx,
Denise
05-31-2019 10:10 AM
05-31-2019 10:27 AM
Hi,
CAXL isn't my area of expertise so don't quote me, but from my understanding, there isn't any development on CAXL and they just work with the internal teams on changes/fixes.
Thanx,
Denise
06-02-2019 06:30 AM
06-03-2019 09:27 AM
Hi,
No worries at all!
No, you cannot use the finesse.js outside of the Finesse out of the box desktop. If you want to use FInesse in your own client, you can just use the Finesse REST APIs directly (https://developer.cisco.com/docs/finesse/#!rest-api-dev-guide).
Thanx,
Denise
06-04-2019 05:44 AM
06-04-2019 09:39 AM
Hi,
You can totally subscribe to events. That is what is actually expected when using the REST APIs. Here is the info: https://developer.cisco.com/docs/finesse/#!about-cisco-finesse-notifications
Thanx,
Denise
06-04-2019 11:22 PM - edited 06-05-2019 02:04 AM
Hello Denise,
thanks once more! Yes I have seen this but I think there is no way of receiving the updates client side without using some sort of XMPP client. I mean yes you can subscribe on the server and the server will do stuff based on the subscription but how does the client side application know about the updates?
The native finesse GUI implements a XMPP node from the jabberwerx.js file which is from the CAXL library.
From my understanding of the rest API, it is only possible to make regular HTTP requests. So to know about updates, one had to constantly ask for it and that is want I am trying to avoid. I would like to use the proper protocol to receive the published updates.
Regards,
Nico
06-05-2019 10:19 AM
Hi,
There are other libraries that you can use like strophe.js (http://strophe.im/strophejs/). Finesse was built for you to use the REST APIs to make the request and to listen to the notification service for the updates. Polling isn't recommended. For a thin client, you need to use BOSH (XMPP over http). Strophe is just one library you can use, there are others.
Thanx,
Denise
06-05-2019 11:24 PM
06-06-2019 08:57 AM
@rainbowstack wrote:
Hey Denise,
That's interesting. How would you listen to the updates from the notification service with the rest API?
I meant that you use the REST APIs to make a request. Then you listen to updates via the notification service. Not that you get updates from the notification service with the REST API.
@rainbowstack wrote:
This is how it all started. I was checking strophe and thought: well, it doesn't look too maintained anymore and why shouldn't I use Cisco's hand crafted XMPP client that uses also BOSH, namely jabberwerx? So I found out this is part of CAXL and that's why I came here.
Well, CAXL isn't maintained either. You can choose which one to use. They are pretty much the same. But whats out there is what is available. I am not aware of a new version of CAXL.
Thanx,
Denise
06-06-2019 11:02 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide