SunQuest
           WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 28th, 2004, 09:36 AM
superman's Avatar
superman superman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 88 superman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
wml, nokia toolkit

anyone know how to setup the nokia gateway to communicate with apache server?

when i key in localhost/test.wml in the SDK control panel, it show this error: Cannot load http://localhost/test.wml (HTTP Error 404 Not Found)

when i key in c:/phpweb/test.wml in the SDK control panel, it show this error: WML Encoder: Root element not declared (download/alternative DTD failed)

this is the test.wml file, any comments? thank you....

<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<?php
include "fastwap.inc.php";
?>
<wml>
<card id="card1" title="firstpage" newcontext="true">
<p align="center">
<?php echo 'Hello World'; ?>
</p>
</card>
</wml>

Reply With Quote
  #2  
Old April 28th, 2004, 09:49 AM
bigwill_m bigwill_m is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 5 bigwill_m User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
have you set up your apache to allow for wml midi's. have you tried specifying a port e.g. localhost:8080

Reply With Quote
  #3  
Old April 29th, 2004, 11:43 PM
superman's Avatar
superman superman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 88 superman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
All the possible text i also include in httpd file:
The port that you mean is the proxy setting?
Host: localhost
Port: 8080
or anything else?

AddType application/x-httpd-php .wml
AddType application/x-httpd-php3 .wml
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp

AddType application/x-httpd-php3 .php3 .php .phtml .wml
AddType application/x-httpd-php3-source .phps

AddType text/vnd.WAP.WML WML
AddType text/vnd.WAP.WMLscript WMLs
AddType image/vnd.WAP.WBMP WBMP
AddType application/vnd.WAP.WMLc WMLc
AddType application/vnd.WAP.WMLscriptc WMLsc

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > wml, nokia toolkit


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway