How to access the sms information from user through ur gate way int... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 14, 2005 ⬆ |
◄ ► |
Author | Message | |||
ede naga raju New member Username: Nagaraju Post Number: 1 Registered: 04-2005 |
i am developing a servlet which needs to access the sms sent by user(client) into my servlet. How to access the details of the sms being sent by client regarding message being sent ie the string,the phone number of the client etc. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 4371 Registered: 10-2002 |
Hi, I do not have any Java servlet examples of this process, but I have some PHP examples, and a very simple ASP example, referenced in the following thread: http://support.nowsms.com/discus/messages/1/4520.html Basically, you configure NowSMS to execute an HTTP GET request when it receives a message. That HTTP GET request calls your servlet which is running under a web server somewhere. The details about the message are passed in HTTP GET URL parameters in a standard format, so you would retrieve them from your servlet the same way that you would receive them if you were processing a standard web request. Although the examples aren't Java based, the PHP examples in the above thread might help in your understanding of the basics. -bn |