WAP Gateway role in MMS

WAP Gateway role in MMS SearchSearch
Author Message
vsr
Posted on Wednesday, June 11, 2003 - 08:19 am:   

Hi!
Could anybody help me to understand how to use WAP Gateway? I just know that to send MMS I should make HTTP POST request on MMS server
with my MMS message in content. Also I should specify the content length (length of my MMS message data) and content type (application/vnd.wap.mms-message). To execute HTTP Post request, it's enough to know proper MMS server IP and port. But what is WAP Gateway for at programmer's point of view? Assume that MMS message I send is valid and I have no other problem (GPRS connection on my Pocket PC is
up, access to MMSserver is allowed and so on). Thank you in advance.


Bryce Norwood - NowSMS Support
Posted on Wednesday, June 11, 2003 - 07:27 pm:   

Normally a developer doesn't need to be concerned with interfacing with a WAP gateway.

However, in practice, some service providers have access to their MMSC (MMS Server) firewalled off so that it is only accessible via a particular WAP gateway at the operator.

Whether or not it is an issue for you depends on the operator environment(s) with which your application will work. Firewall restrictions might prevent you from issuing an HTTP POST directly to the MMSC, forcing you to talk WSP through the WAP gateway.

-bn
vsr
Posted on Monday, June 16, 2003 - 08:32 am:   

So, if WAP Gateway used, why to specify MMS server in settings of cell phones or PocketPC MMS tools? Another thing that I don't understand is that Ezos WAP (an MMS tool, maybe you know) doesn't send any bytes to that gateway when sending an MMS message. When I specify my own "WAP gateway server" and listen on proper port, no data arrives. On the other hand, EzWAP doesn't work with my operator if no gateway or
wrong one specified. So, I see that gateway is used but don't know how :-(
Bryce Norwood - NowSMS Support
Posted on Monday, June 16, 2003 - 06:07 pm:   

So, if WAP Gateway used, why to specify MMS server in settings of cell phones or PocketPC MMS tools?

Because the WAP gateway is only a proxy server. You still need to configure a URL for the MMS server. The MMS client connects to the URL using the WAP gateway as a type of proxy server.

When I specify my own "WAP gateway server" and listen on proper port, no data arrives

Are you sure that you are listening on the proper port? WAP operates over UDP, not TCP, so you would need to be listening on the UDP port.

-bn
vsr
Posted on Tuesday, June 17, 2003 - 08:07 am:   

Are you sure about UDP, Bryce? As I study the problem I begin to understand something, it seems...
Now I think that the problem is network protocol. Actually, I listen on the TCP port, but that's wrong, I think. MMS messages are sent using HTTP over TCP only when "traditional" networks used. When sending MMS from mobile device, WSP is used, not HTPP, and over WDP, not TCP or UDP. Therefore, WAP gateway listens on WDP port and that's why nothing arrives to TCP port I'm listening. See what I've found: http://www.interex.org/pubcontent/enterprise/may00/f4ntwin.html}
If I'm wrong and you know precisely why, please tell me about it.
Thank you.
Bryce Norwood - NowSMS Support
Posted on Tuesday, June 17, 2003 - 04:11 pm:   

I'm positive.

In an IP environment, WDP operates over UDP (connection-less IP).

TCP is a connection-oriented protocol that operates over IP.

UDP is a connection-less protocol that operates over IP.

WDP is a connection-less protocol that operates over UDP in an IP environment.

WSP and WTP define session handling and transaction handling that generate requests over WDP, which in turn is transmitted over UDP in an IP environment.

The next version of the Now SMS/MMS Gateway (v5.0) includes a WAP client for addressing MMS connectivity issues in some operator environments, so I have had to get very familiar with the WAP protocols in preparation for this upcoming release.

-bn
Anonymous
Posted on Tuesday, August 19, 2003 - 12:38 pm:   

Hi
Let me get this understood. If I have a WSP encoded MMS that I want to place on my providers MMSC. Assuming the MMSC is firewalled I need to got through the WAP gateway. I can do this from the PC side by creating a UDP socket to the WAP gateway IP and sending the MMS as the body of a WSP POST. Or do I have to do a WSP CONNECT before the WSP POST. Is all this on the right track? If needed how exactly do I do a WSP connect?
Anonymous
Posted on Wednesday, August 27, 2003 - 12:44 pm:   

How to implement MMSC gateway; Wheteher we should learn Symbian OS for that?
Bryce Norwood - NowSMS Support
Posted on Friday, September 05, 2003 - 08:46 pm:   

You need to perform a WSP CONNECT before you can perform a WSP POST. (There is a connection-less WSP POST, but you'll likely run into size limits as connection-less POST cannot use segmentation and re-assembly for transferring larger packets of data.)

I'd suggest getting a line analyser ... Ethereal is a great tool ... and use a WAP simulator to connect to an open WAP gateway ... analyse the traffic ... and refer back to the specs so that you can understand the encoding better.

I'm not sure how Symbian OS relates to your question.
Gerard
Posted on Friday, September 12, 2003 - 08:04 am:   

Hi All,
I am now starting to know WAP but recently I try some wap code using simulators and it works.
My question are:
1. How to see this wap codes using real handphones
and what are the steps?
2. How to setup my own WAP Gateway to put my
wap code and put it into real use?

Thanks!
Luke V
Posted on Wednesday, October 15, 2003 - 01:32 pm:   

Setup a webserver , add the right mime types for wml. Upload the site and off you go.
Bryce Norwood - NowSMS Support
Posted on Wednesday, October 15, 2003 - 05:49 pm:   

As Luke says, in most instances there is no need for you to have your own WAP gateway.

A WAP gateway is just a specialised type of proxy server, and for the majority of applications, you can use the operator WAP gateway that is pre-programmed into the handset.

Actual WAP content runs on a standard web server.