Re: Java<->Kannel connection

2009-03-11 Thread Monim Benaiad
Hello Try this method: public String send(String serverIP, String serverSendPort, String user, String password, String smsc, String mt, String text, String from) { String result = ""; try { String data = java.net.URLEncoder.encode(text, "UTF8"); String msis

Re: Java<->Kannel connection

2009-03-08 Thread Marcin Bockowski
2009/3/9 Peter Elmered : > When i use the HTTP-interface i get this error message: > java.io.IOException: Server returned HTTP response code: 400 for URL: > http://83.253.156.183:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3467565&text=Hello+world1 Hello, try add "from=666" to Your re

Java<->Kannel connection

2009-03-08 Thread Peter Elmered
Hello I'm writing a java application that handles and sends out SMS with Kannel. When i use the HTTP-interface i get this error message: java.io.IOException: Server returned HTTP response code: 400 for URL: http://83.253.156.183:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3467565&tex