Hi Patrick,
What you are asking is possible. Someone was not thinking at Cisco when they implemented the http/vxml parser in IOS. The IOS code relies on the name of the file in the http-request/response to determine if the code is vxml or not. This all dispite the content-type the IOS http client is willing to accept and you should be returning as well.
To have your .net application return vxml and have the IOS code understand the results all you should do is to trick the parser to think the file is a .vxml file (filename). Use the following URL for example:
application
service MyVxmlAspxApp
http://webserver/app1/menu.aspx?param1=value1&realfilename/menu.vxml The querystring-parameter realfilename/menu.vxml without parameter tricks IOS in thinking the actual file being requested is VXML. Stupid, but true, unfortinately.
About the ? in the line of code... just press CTRL-V before typing the ? and IOS will allow you to continue with the parameters of the URL.
Besides all of this, always return a valid content-type in the response. Ex.: Response.ClearHeaders(); Response.Content-Type="application/vxml";
Regards,
Eik Tamminga