I've recently attempted to start writing ASP Scripts to serve WML, whilst the flat WML files that I had previously written worked fine the attempts that I have made with ASP have all failed so far. All I've done is change the file extension and add the tag at the very top of the page to let IIS return the correct MIME type to the client. I've included the code below and would greatly appreciate any help that can be offered. Cheers, Dan. (dan@boardsnbikes.co.uk)
Link: http://wap.boardsnbikes.co.uk
Posted by Dan Rough, dan@boardsnbikes.co.uk
on July 05, 2000 at 18:25
Posted by angus myles, angusm@aspects.demon.co.uk
on July 06, 2000 at 11:10
Dan
The two obvious things are:
Have you done setContentType(text/vnd.wap.wml) in your asp?
Have you added the wap MIME types to IIS (in the registry I think)?
The other thing is: I think to have a carraige return before the xml prologue is a no no, maybe try getting rid of that too.
Best of luck,
Angus