SMS with WML

SMS with WML SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through March 09, 2004 » SMS with WML « Previous || Next »
Author Message
subra
New member
Username: Jagatmaniam

Post Number: 1
Registered: 12-2003
Posted on Thursday, December 11, 2003 - 06:29 am:   

My name is Subramanian and from Malaysia. I am currently doing my Final Year Project in one of the local varsities here. My topic is "Bilingual computer Science Terms Dictionary through SMS by using Java". Basically wat my system does is, when i send an English term through SMS,the msg will be sent to the dbase in the server n it will reply back the Malay(my national language) term.

Application - in Java
Dbase - Microsoft Access, ODBC
Emulator - Nokia WAP Toolkit 2.0
server - Tomcat

One of my friend told me that he had tested a similiar SMS project by using the WAP toolkit, but for my case he told me that i need:
a)WML tag file
b)WML encoder

Both these things are needed to integrate the java application wit the WAP toolkit. This tag or file (*.wml) will be interface between Nokia Wap Toolkit and the application. All the request from the emulator will be past to this tag.

Both these files will be placed in a spesified directory.

Do u get the picture of my problem ? Could u help me out to solve this problem. Basically i need both these files to test project.

Thank you.

subramanian
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1373
Registered: 10-2002
Posted on Friday, December 12, 2003 - 05:03 pm:   

Sorry, but I don't understand how SMS fits into your environment.

You can't do SMS with a WAP toolkit.

Also, based upon the description of your project, I can't see how it relates to WAP at all.

WAP is basically used as a browsing technology (although technologies like MMS, not SMS, use WAP protocols for message transport). To create a WAP page, you create a page using WML (Wireless Markup Language), and put it on a web server just like you would create a web page using HTML. A Java application could process data submitted by a WML form, in a similar fashion to data submitted by an HTML form.

Of course, none of this has anything to do with SMS. But it is a project that you could accomplish with the tools that you have specified:


quote:

Application - in Java
Dbase - Microsoft Access, ODBC
Emulator - Nokia WAP Toolkit 2.0
server - Tomcat




If you did this project for WAP, then you would create a WML page that had a form that prompted the user to enter an English word.

The POST destination for the form would be your Java application, which would look up the term, and return the results in a dynamically created WML page.

Assuming that the web server were accessible over the internet, the same application could be accessed from a mobile phone. The user would just have to enter the URL for the application into the phone's browser.

Like I've already said, this has nothing to do with SMS.

If you wanted to do this with SMS, you'd either need to write an interface that allowed you to send/receive SMS over a GSM modem/phone, or use a product like NowSMS that has this type of functionality built in.

Setting something like this up in NowSMS (assuming a GSM modem/phone is connected to a server running NowSMS) is relatively simple.

On the "2-way" page of the NowSMS configuration dialog, you can tell NowSMS to run a command (or connect to a web URL) when an SMS message is received. The text of the message gets passed to the command or URL ... which could be a Java applet ... and to reply back, the Java applet simply returns an HTTP response of the content type "text/plain" with the text to be used to reply back to the sender (NowSMS expects this text to be in UTF-8 encoding).

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

To be honest, I think the WAP solution would probably be better suited for your project if you can change the project to use WAP instead of SMS.

-bn
subra
New member
Username: Jagatmaniam

Post Number: 2
Registered: 12-2003
Posted on Saturday, December 13, 2003 - 03:29 am:   

Bryce,

If i were to use the NowSMS,u told me that i need a GSM modem or phone to make it happen...I dun have a GSM modem, but is my Nokia 3315 phone is enough to make this project happen ? So if i send a SMS from the phone,it will go the server which i had set in my pc,retrieve the data, n send back to my phone. Is it correct?

If can means,then where will the SMS gateway comes in the picture ? Or is it included in the NowSMS toolkit ?

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1391
Registered: 10-2002
Posted on Monday, December 15, 2003 - 09:03 pm:   

Subra,

I checked the device specifications at www.forum.nokia.com, and according to the info there, the Nokia 3315 does not support any PC connectivity. So I don't think it will work.

But basically, if you did have a phone that had an inbuilt modem, you could connect it to the NowSMS gateway. When the phone receives an SMS message, the gateway can retreive it from the phone, parse it, and cause an HTTP request to be initiated.

That HTTP request can respond back directly with text to be sent back as a reply.

As you are doing a school project, if you wanted to do this all yourself, the ETSI GSM 07.05 specification (available at www.etsi.org) documents the AT command interface for sending/receiving SMS messages with a GSM modem.

-bn
masterID
Unregistered guest
Posted on Thursday, February 12, 2004 - 02:36 pm:   

Is ther any way to implent SMS sending in a WAP site?
It means, send SMS from the phone requested via WAP page to the destination number implenmented in the WAP page. Of course, via the SMSC in the phone settings. NOT FREE SMS!

thnx
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1876
Registered: 10-2002
Posted on Thursday, February 12, 2004 - 04:31 pm:   

Hi,

The WAP Wireless Telephony Application Interface (WTAI) does define a WTANetText.send function for WMLScript, which could be used to send messages. But I've never seen any devices that implemented it.

I just did a quick web search, and I've seen relatively recent confirmation from both Nokia and Openwave representatives that their browsers do not implement the WTANetText WMLScript library.

If the functions were supported, they should be defined in the UAProf file for the phone.

It would be under <prf:WtaiLibraries> where the WTA libraries that the device supports would be listed.

Unfortunately, when I look at the profiles for today's high end phones, they only list support the basic Public WTAI functions, not the Network Common WTAI functions:

WTAPublic.makeCall
WTAPublic.sendDTMF
WTAPublic.addPBEntry

You can view a lot of UAProf files at http://www.w3development.de/rdf/uaprof_repository/

It's a shame. One of the problems is that there are some good specifications that define functions like this ... but the functions are considered "optional" in terms of specifications conformance, so manufacturers do not implement them unless there is competitive reason to do so ...


-bn
James McGowan
Unregistered guest
Posted on Wednesday, February 25, 2004 - 12:55 pm:   

Shame that SMS is not implemented, since it would be great for initiating SMS reverse billed content transfers 'click here' activates an SMS in the background which then prompts SMS delivery of content.

Login Login / Register Logout Logout Search Last 30 Days Topics Topics