RE: application.variable - FileNotFound exception

I got the stuff working and I thought I'll share it.
This one is very similar to what f_yanyang@hotmail.com had posted.


The HTTP request sent by the voice browser contains an accept header of
application/x-vxml (preferred form), application/vxml, text/x-vxml, or
text/vxml, which tells the server-side logic the request is coming from the
VoiceXML browser, as opposed to a visual browser (Internet Explorer or
Netscape Navigator/Communicator). You may need to configure your Web server
to recognize that *.vxml files are of this type. On some servers, failure to
do so may generate a file not found exception in the browser.

Regards,
Willy


-----Original Message-----
From: Vijay William J 
Sent: Friday, May 16, 2003 10:08 AM
To: www-talk@w3.org
Subject: application.variable - FileNotFound exception



Hi All,
I'm facing a problem accessing the application variables (defined in the
root document) from a child document. I use the IBM Voice SDK. A vxml
variable is passed from the root document to the child document using the
<submit> tag with POST. In the child document, the vxml tag is specified as
follows:
<vxml version="1.0" application="http://server-name/voice/sample.vxml" >



 and the error I get is:
"java.io.FileNotFoundException: http://server-name/voice/sample.vxml.


Whereas the file actually exists in the specified location. Can you please
tell me where exactly I've gone wrong.

Thanks,
Willy

----------------------------------------------------------- NOTICE
------------------------------------------------------------  This email and
any files transmitted with it are confidential and are intended solely for
the use of the individual or entity to which they are addressed. Any use,
distribution, coping or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please notify the
sender by reply email and then destroy the message. Opinions, conclusions
and other information in this message that do not related to official
business of NIIT shall be understood to be neither given nor endorsed by
NIIT when addressed to NIIT Clients, any information contained in this email
is subject to the terms and conditions in governing client contract.

----------------------------------------------------------- NOTICE
------------------------------------------------------------  This email and
any files transmitted with it are confidential and are intended solely for
the use of the individual or entity to which they are addressed. Any use,
distribution, coping or disclosure by any other person is strictly
prohibited. If you received this transmission in error, please notify the
sender by reply email and then destroy the message. Opinions, conclusions
and other information in this message that do not related to official
business of NIIT shall be understood to be neither given nor endorsed by
NIIT when addressed to NIIT Clients, any information contained in this email
is subject to the terms and conditions in governing client contract.

Received on Friday, 16 May 2003 00:59:21 UTC