×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

is the cisco IP/IVR SOAP compliance

Answered Question
Sep 7th, 2010
User Badges:

Hi,


I have one query regarding Cisco IP/IVR 7.x. Is it SOAP (Simple Object Access Protocol) compliance or not.

Can IVR retrive cosumer data through SOAP web service and how to configure IVR to retrive the data from Oracle database through SOAP


Please help  and provide any document on the same.



Regards,

DJ

Correct Answer by geoff@hp.com about 6 years 11 months ago

The idea is you build a Java class that does the heavy lifting. It connects to the Web service, makes the SOAP query, gets back the data and parses it, making the contents available through Java methods.


You can build this and create a main() class to call your class and test it, all outside of IPIVR.


Once it is all working and tested, you can encapsulate your class in a JAR, and use the Document editor in CRS to upload the JAR and register it. Now IPIVR can "see" the class and the methods through reflection.


In the Expression Editor, you can instantiate your special class and call its methods. You can then pass back values to your IPIVR scripting.


This is not particularly trivial. The Expression Editor document provides guidance, but you have to be pretty savvy to figure out how to call a custom class. You can experiment with a simple Java class in a JAR to see how it works.


As you can see from this outline, your Java skills have to be pretty fair to make this work. But the potential is there.


Regards,

Geoff

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
frzhang Tue, 09/07/2010 - 07:52
User Badges:
  • Cisco Employee,

ODBC only. Use database steps in the script to access the data from outside database.

geoff@hp.com Tue, 09/07/2010 - 11:28
User Badges:
  • Green, 3000 points or more

You can of course build your own Java class to do the web service call and decode the SOAP and pass data up. Add into the Expression Editor. Need some Java skills.


Regards,

Geoff

dinesh joshi Tue, 09/07/2010 - 20:45
User Badges:

Hi Geoff,


Thanks for the valuble answer.

Could you please refer me any document on the same. I have no idiea how to configure IVR for the same.



Regards,

DJ

Correct Answer
geoff@hp.com Tue, 09/07/2010 - 21:00
User Badges:
  • Green, 3000 points or more

The idea is you build a Java class that does the heavy lifting. It connects to the Web service, makes the SOAP query, gets back the data and parses it, making the contents available through Java methods.


You can build this and create a main() class to call your class and test it, all outside of IPIVR.


Once it is all working and tested, you can encapsulate your class in a JAR, and use the Document editor in CRS to upload the JAR and register it. Now IPIVR can "see" the class and the methods through reflection.


In the Expression Editor, you can instantiate your special class and call its methods. You can then pass back values to your IPIVR scripting.


This is not particularly trivial. The Expression Editor document provides guidance, but you have to be pretty savvy to figure out how to call a custom class. You can experiment with a simple Java class in a JAR to see how it works.


As you can see from this outline, your Java skills have to be pretty fair to make this work. But the potential is there.


Regards,

Geoff

dinesh joshi Tue, 09/07/2010 - 21:38
User Badges:

Hi Geoff,


Thanks for your solution. Even though it seems very tough excersise but i will take help of JAVA expert.


Thanks,

DJ

dinesh joshi Tue, 09/07/2010 - 20:40
User Badges:

Hi,


Thanks for your reply.

Currently we are accessing database through odbc but now database team won't allow direct

communication with the database. They are telling us communication should be through SOAP web service.

They will provide us the database table in XML format and IVR has to comunicate with that XML document.



Regards,


DJ

Actions

This Discussion