cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2435
Views
2
Helpful
3
Replies

VXML Application RESTful WS Client

Mostafa_Shawky
Level 1
Level 1

As i red about VXML Application client using [jersey] RESTful WS it was applied start from CVP 10..Kindly correct me.. if not below my client connected to CVP 9.0.1 but not working

VxmlAppClient client = new VxmlAppClient();
String url = client.getBaseUrl() + "/cvp-config/vxmlapp/deploy";
client.post(url);

VxmlAppClient client = new VxmlAppClient();
String url = client.getBaseUrl() + "/cvp-config%20/vxmlapp/deploy";
client.post(url);

Errors i had sequentially

VxmlAppClient:post() - response: POST https://172.20.253.177:8111/cvp-config/vxmlapp/deploy returned a response status of 404 Not Found


VxmlAppClient:post() - response: POST https://172.20.253.177:8111/cvp-config%20/vxmlapp/deploy returned a response status of 400 Bad Request

3 Replies 3

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Mostafa,

I think to  use Jersey client APIs, you need to declare “jersey-client.jar” in your pom.xml file., Request you to refer http://www.mkyong.com/webservices/jax-rs/restful-java-client-with-jersey-client/  for related information.

Thanks and Regards,

Geevarghese

Hi Geevarghese,

I downloaded CVP REST API from below URL and not working with me.

PS : i have CVP 9.0.1

https://developer.cisco.com/site/devnet/home/index.gsp#comboFilters[contenttype]=.codesamples

cvp-code.png

Appreciate your support

Hi Mostafa,

   Did you got any chance to check the "Getting Started with the CVP REST API - Demo Client Application.docx"  from this url - https://developer.cisco.com/site/collaboration/contact-center/customer-voice-portal/documentation/

In that it is mentioned the  Prerequisites as

  • Install Operations Console Server of Cisco CVP 10.0(1) or later version..
  • Install CVP Server of Cisco CVP 10.0(1) or later version of..
  • Add and deploy VXML Server, Call Server, and Media Server from the Operations Console.

So I think you need to have CVP 10.0

Thanks and Regards,

Geevarghese