Esato

Forum > Sony Ericsson / Sony > GPRS, WAP, MMS and Email setup > wml works on emulator, but not on phone

12  Next
Author wml works on emulator, but not on phone
Graphite2003
P910
Joined: Nov 12, 2003
Posts: 120
PM
Posted: 2004-12-17 15:10
Reply with quoteEdit/Delete This PostPrint this post
Hello All,

I am new to WAP programming. Please excuse me if I ask some "non-professional" questions.

I have this basic basic hello wml page on my server (IIS 5 on Windows 2000 with all the MIME content enabled and ASP ISAPI configured).
Source code for the wml is as follow:

**************** Source Code Starts *************
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"

"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card id="card1" title="WML Tutorial">
<p>Hello World</p>
</card>

<card id="card2" title="WML Tutorial">
<p>Welcome to the world of WML</p>
</card>
</wml>
**************** Source Code Ends *************

This page is reside in
http://www.maplelink.com/HelloWorld.wml

This page works in all of my emulators (namely Nokia Mobile Browser, Sony Ericsson T610 Emulator, and the gelon.net).

However, when i switch to my actual T616 (and tried T610), i only see a blank page. Nothing else gets to display. But I'm 100% positive that my phone call access to other WAP pages. Could someone else use their T616/T610 phone and try to access this page?

I'm not sure what is wrong with it. Would it be possible that my IIS is not setup correctly?

Thank you very much for your help and I'm looking forward to hearing from you soon.

Best Regards,

Anson
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-17 17:59
Reply with quoteEdit/Delete This PostPrint this post
I just clicked on the link on my p800, and it loaded fine. Page title: WML TUTORIALS. Text on page:Hello World. The source code you posted looks correct, unless I missed something.
PS: I used to be known as AYA
Graphite2003
P910
Joined: Nov 12, 2003
Posts: 120
PM
Posted: 2004-12-17 19:40
Reply with quoteEdit/Delete This PostPrint this post
Hello AYA,

Yes, that what I intended to show.

So do you know if it's really the problem of my phone (T616)?

Anybody?

Anson
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-17 21:11
Reply with quoteEdit/Delete This PostPrint this post
@Graphite2003: Cant be certain for sure. Wish someone else with a t610/637 would try loading the page to see. Then we can begin to narrow down our options.

Anyone with a t610, kindly help out!
PS: I used to be known as AYA
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-18 11:34
Reply with quoteEdit/Delete This PostPrint this post
@Graphiote2003: I got some guys at my regional thread to test out the link. Here are the feedback
<--feedback start-->

1. Posted by brym!: 2004-12-18 07:55
--------------------------------------------------------------------------------
@AYA, got into site, it says : Hello World. Rest of page is blank.
This message was posted from a K500

2. Posted by Mamba: 2004-12-18 09:47
--------------------------------------------------------------------------------
loads perfectly

Hello World

Welcome to the world of WML
<--feedback end-->

Looks good so far. The problem may be your phone. I've got someone with a t610 who says he'll give it a run. Expect the result soonest.
PS: I used to be known as AYA
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-18 12:38
Reply with quoteEdit/Delete This PostPrint this post
@Graphite2003: Here's the feedback from another t610:
Posted by coolapostle: 2004-12-18 11:46
--------------------------------------------------------------------------------
It did not work. It gave an error and said there was something with the link. I typed with Http:// and without it.
This message was posted from a T610


Not good. Looks like T610 generally won't load your page. Why, I dunno? Any ideas?
PS: I used to be known as AYA
wapchimp
C905 Silver
Joined: Jun 09, 2002
Posts: > 500
From: Land of the chimps
PM, WWW
Posted: 2004-12-18 13:58
Reply with quoteEdit/Delete This PostPrint this post
The t68i and t610 are very strict. If u have one tag not closed then it will not load. Im on wap so cant check the code properly

This message was posted from a Nokia

DSF
R520
Joined: Dec 01, 2002
Posts: > 500
From: Romania
PM, WWW
Posted: 2004-12-18 14:10
Reply with quoteEdit/Delete This PostPrint this post
Quote:

Wrong mime-type, I got text/html, but I want text/vnd.wap.wml.

This error occurs when you request a page that is not a WAP page, or when the webserver isn't set up correctly for hosting WAP sites



That's the reason. You have to add a mime type for the "wml" files.
AddType text/vnd.wap.wml wml


_________________
http://xpc.go.ro/wap.wml

[ This Message was edited by: DSF on 2004-12-18 13:14 ]
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-18 14:52
Reply with quoteEdit/Delete This PostPrint this post
@Graphite2003: Over to you now
PS: I used to be known as AYA
DSF
R520
Joined: Dec 01, 2002
Posts: > 500
From: Romania
PM, WWW
Posted: 2004-12-18 15:14
Reply with quoteEdit/Delete This PostPrint this post
OK i just tried to upload your HelloWorld.wml to home.ro'server and it works. It's configured for wml pages, it seems.

http://xpc.go.ro/hello.wml

PS: the code is intact, wasn't changed, just uploaded to my host.
Graphite2003
P910
Joined: Nov 12, 2003
Posts: 120
PM
Posted: 2004-12-20 15:44
Reply with quoteEdit/Delete This PostPrint this post
Helly AYA, wapchimp and DSF,

Thank you very much for all your effort helping me narrowing down the problem. Thank you.

And AYA, please help me to thank all the people in your regional forum who helped in the testing. I appreciate that.

And DSF, thank you for pointing out the MIME setting. I have already set the MIME setting in my IIS5 server. Just that I don't know what it's not in effect. I will reboot the server and try again. Will get back to you.

Best Regards,

Anson
Graphite2003
P910
Joined: Nov 12, 2003
Posts: 120
PM
Posted: 2004-12-20 16:32
Reply with quoteEdit/Delete This PostPrint this post
Still no luck after rebooting.

I have followed this article to enable the MIME.

http://www.windowsitpro.com/Web/Article/ArticleID/7856/7856.html

Any idea?

Anson
OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-20 16:51
Reply with quoteEdit/Delete This PostPrint this post
Tough, man. I've run out of ideas. My P800 wouldn't load my network provider's WAP homepage too for months. I tried again just now and - yes, it loaded. I didn't modify anything here, & I am not sure what they did at that end to remedy the situation.

This message was posted from a P800

Graphite2003
P910
Joined: Nov 12, 2003
Posts: 120
PM
Posted: 2004-12-20 17:15
Reply with quoteEdit/Delete This PostPrint this post
Forgot to mention, this page works on my phone (T610).


Quote:

On 2004-12-18 15:14:15, DSF wrote:
OK i just tried to upload your HelloWorld.wml to home.ro'server and it works. It's configured for wml pages, it seems.

http://xpc.go.ro/hello.wml

PS: the code is intact, wasn't changed, just uploaded to my host.



OluYom
Xperia X10 Mini Black
Joined: Oct 27, 2004
Posts: > 500
From: Nigeria
PM, WWW
Posted: 2004-12-20 17:20
Reply with quoteEdit/Delete This PostPrint this post
@Graphite: That suggests that the problem resides in your server config. You'll need to look at it again. What to look for now is the issue, it seems.

This message was posted from a P800

Access the forum with a mobile phone via esato.mobi