Supporting WMLScript on current phones and operators
I'm building an in-house application which uses WMLScript, and I'm having problems deploying it. The first problem was that recent phones (such as an E61 on T-Mobile UK) would not execute a file of type text/vnd.wap.wmlscript, but instead would download it and save it to the memory card. I've not found any discussion of this problem, but it can be seen with [URL="http://www.developershome.com/wap/wmlscript/helloWorldWmlscriptEg.asp"]this example[/URL]. The WML page calls the script, the script is delivered with the correct mime-type, and the phone opens a download window instead of executing the script.
I got around this by pre-compiling the script, and serving the compiled script with mime type application/vnd.wap.wmlscriptc. This worked across a wide range of phones, except for Vodafone UK. I fixed this problem by spending an hour phoning around Vodafone until I found someone who could exclude my site from "Mobile Internet Optimisation". This "optimisation" seems to include dropping files of type application/vnd.wap.wmlscriptc.
I've now started a test on Orange, and I have the same problem. I'm about to start phoning around Orange looking for the right technical contact, but does anybody have a recipe for delivering WMLScript to recent phones which works across all the UK operators?
Re: Supporting WMLScript on current phones and operators
i've faced that situation in the past with a brazilian network (using Nokia 6230 phone).
When using the WAP access point, everything worked ok.But when using the INTERNET access point, the wmlscript was downloaded as a text file.With all the other networks and connections, the script was also downloaded instead being executed.
As for wml scripts, i've tried many things with no success, including:
-use a mime-type inducer to force correct wml script types (both for plain and compiled files)
-change plain script's extension to wmlscript and wmlsc
-compile the script, and try all extensions available (wmls, wmlscript, wmlsc)