Wp3gx gateway setup

Wp3gx gateway setup SearchSearch
Author Message
ukeen
Posted on Sunday, January 26, 2003 - 03:13 pm:   

Hi, went through the wap gateway setup and i think that i'm being a little thick here but ......

1. how do i actually get it to serve wml files to a mobile browser?

when i type in the ip address of the box that is hosting the server, nothing gets returned.

I am not using a http proxy.

have i missed something?

I have dropped a wml card in the wml folder called index.wml. (Sorry about the format, but I had to remove the angle brackets as they were getting read as tags.)

?xml version="1.0" encoding="iso-8859-1"?
!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"
wml
card
p>hi hello how are you!:)/p>
</card
</wml
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, January 27, 2003 - 03:52 pm:   

Hi,

I don't think you're think, it's all just a little confusing, but I think I can cut through some of the confusion.

A WAP gateway doesn't really host its own content. (It can, but I wouldn't recommend it.)

Basically a WAP gateway acts like a proxy server. In a phone, you configure an IP address of a WAP gateway, and when the phone wants to retrieve some content, it issues the request through the WAP gateway.

The request goes into the WAP gateway from the phone using the WAP WSP protocol ... and the WAP gateway uses HTTP to fetch the content from a standard web server. The WAP gateway transmits the response back to the phone using WSP.

Basically, WSP is just more efficient than direct HTTP over TCP/IP in a mobile environment. That's why the gateway is there.

I'd recommend putting your content on a standard web server of your choosing ... because then you can access it via different WAP gateways ... and you have the ability to use whatever scripting language you are most familiar with to do dynamic content instead of just static content.

-bn