| VoiceXML 2.1 Development Guide | Home | Frameset Home |
|
| ANNOTATIONS: EXISTING POSTS |
hrsriks
|
|
| Hi,
I want to call a .NET application from within a VoiceXML file. The .NET application will be in the form of a WCF service. How can I access (and call) a WCF Service from within a VoiceXML? Any help would be appreciated. Thanks, Srikanth |
|
voxeoTonyT
|
|
| Hello,
We are looking into whether or not our platform has the ability to call a .net application in the form of a WCF service. Once we get the necessary information we will post back to you via this ticket. In the meanwhile if there is anything else we can assist you with do not hesitate to contact us. Regards, Tony Taveras Customer Engineer Voxeo Support |
|
jdyer
|
|
| Hello,
If you are looking to use SOAP in your application I did want to make sure that we pointed out that the Voxeo SOAP client is really in it's infancy, and at this point is nowhere near ready for production-grade application deployments. We are aware of several idiosyncrasies and defects with the current implementation, and for us to continue to see you go down this path would likely be doing you a disservice, as it is my opinion that eventually, you will hit a brick wall in terms of what the Voxeo-SOAP offering can do. I'd also like to bring to light the fact that SOAP isn't really part of the VXML spec yet, (assuming that it ever makes the cut) and you may well be developing an application that will eventually be platform incompatible, and could requite re-engineering in the future. That being said, the spec compliant method of handling this type of integration would be via use of the <data> ( http://docs.voxeo.com/voicexml/2.0/data.htm ) element. With the <data> element you can submit your parameters, in the form of a space delimited list using the namelist attribute, to your server side resource. If you need to handle return data you can do so, providing the return is XML, and then handle it at the VXML application layer. I do hope this information provides some assistance with your desired implementation, and we certainly hope you let us know if there are any other questions regarding any of this information. We are most certainly always standing by to offer any help our developers may require! Regards, John Dyer Customer Engineer Voxeo Support |
|
agnihotrived
|
|
| As this discussion is 1 year old, I want to ask whether now we can incorporate wcf services with our VXML application or it will be more use if you provide in a very simple way that how we can work on visual studio (.net environment) and create an IVR application easily.
We are using WCF in our existing application and dev express as our client application. So please provide in detail. How can we work on IVR with wcf or with code behind files (.cs files) of .aspx pages? It will be very helpful if you give a small sample project on .net for the same. |
|
voxeoJeffK
|
|
| Hello,
The VoiceXML 2.1 W3C specification does not make allowance for WCF or SOAP communication unfortunately. VoiceXML communication to external resources is based on simple HTTP request/response, with an XML formatted return. You may have success using a script between the two that would act as a bridge between your WCF service and the VXML browser. Regards, Jeff Kustermann Voxeo Support |
|
MyGirlTunah
|
|
| Im using ASP for my server side scripting which allows a user to search a database through a voice browser and have the results uttered back to them. does the ASP script have to be on the same document as the vmxl code? And how would i call the ASP query on the voice app? | |
voxeoJeffK
|
|
| Hello,
In VoiceXML if you use <data> http://www.vxml.org/data.htm the current VXML document stays in execution, and the returned data from the target URL is available to it via the variable defined as its "name" attribute. If you use <submit> http://www.vxml.org/submit.htm then a new VXML document is expected, and execution moves to it. In this case you submit to the ASP script, and have it generate a complete VXML document for return. Regards, Jeff Kustermann Voxeo Corporation |
| login |
|