On Fri, 2006-11-03 at 13:28 -0500, Mustafa Cayci wrote:
> Thanks Enver.  I was playing with the
> http://yourserver:sendsms-port/cgi-bin/sendsms.  
> 
> However, J2ME does not like the connection this is returning.  I am
> getting java.lang.ClassCastException

[...]

> String address =
> "http://138.1.117.234:13013/cgi-bin/sendsms?username=tester&password=foobar&to=0123456";;
> conn = (MessageConnection)Connector.open(address);
> TextMessage txtmessage = 
> 
> (TextMessage)conn.newMessage(MessageConnection.TEXT_MESSAGE);

I don't know what you're trying to achieve with that, what is
MessageConnection and TextMessage is for and what library they are
coming from so I can't speculate on that.

What I can tell is, if you click on the URL link above, Kannel should
receive an HTTP GET request via the sendsms CGI interface and process it
appropriately.

-HTH
-- 
.O.
..O   Enver ALTIN                   |   http://enveraltin.com/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to