-
Wml & Asp won't work??
Hi!
I’m having a little problem with WapLite Gateway (trial version).
I want to test some app. that I have been developing.
My environment is composed by:
-OS: Windows 98
-Web Server: Personal Web Server
-Wap Gateway: WapLite
Wap gateway & web server in the same machine….
My solution is composed by some 2 wml files and n asp (active server pages)
files.
To test my app. I make a connection to my ISP (giving me a IP) and then I
turn on the PWS and the Waplite.
My cell phone is configure to access to the operator, with the Ip address
pointing to my machine (Ip given by the ISP).
When I try to make a connection to my wml pages in my machine the following
messages in the screen of the cell phone are displayed:
-Connecting to the service
-No answer has been received
But if we see the WapLite Log we can comprove that some requests were made
off…
How is this possible? If the WapGateway receives the requests, why doesn’t
he respond? Is that missing me some thing?
Thanks
Marco
-
Re: Wml & Asp won't work??
"Marco" <marco.caetano@gecits-eu.com> wrote:
>
>Hi!
>
>I’m having a little problem with WapLite Gateway (trial version).
>I want to test some app. that I have been developing.
>My environment is composed by:
>-OS: Windows 98
>-Web Server: Personal Web Server
>-Wap Gateway: WapLite
>Wap gateway & web server in the same machine….
>
>My solution is composed by some 2 wml files and n asp (active server pages)
>files.
>
>To test my app. I make a connection to my ISP (giving me a IP) and then
I
>turn on the PWS and the Waplite.
>My cell phone is configure to access to the operator, with the Ip address
>pointing to my machine (Ip given by the ISP).
>
>When I try to make a connection to my wml pages in my machine the following
>messages in the screen of the cell phone are displayed:
> -Connecting to the service
> -No answer has been received
>But if we see the WapLite Log we can comprove that some requests were made
>off…
>
>How is this possible? If the WapGateway receives the requests, why doesn’t
>he respond? Is that missing me some thing?
>
>Thanks
>Marco
Try something like this code
Check the initial WML menu has a meta tag like the following
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=30" forua="true" />
</head>
<card id="card0" title="Marty Con...">
<do type="prev" label="Back"><prev/></do>
<p><b>Try a link to Access ASP
<br/>
</b>
<br/>
<a href="http://www5.ewebcity.com/yournamehere/wml/names.asp">Access Brinkster
WML</a>
<br/>
<a href="http://tagtag.com/mail">TagTag WAP mail</a>
</p>
</card>
</wml>
The start of your ASP page should have the following contenttype
command
<!--#include file="conn.asp" --><%
'send the right MIME type
Response.ContentType = "text/vnd.wap.wml"
Dim SQLquery
%>
Also if this still doesn't work try creating a WML menu at a
site like tagtag.com and point this at your ASP files. If it works here then
the problem is with WAP Lite gateway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks