Tuesday, August 31, 2010

Working with SDP simulater....

these are the steps :
1) Extract the sdp-simulator.zip and go to bin folder, in there you will see startup-sdp-simulator.bat or startup-sdp-simulator.sh file. If you are windows user run the bat file of that. If you are a linux fan run the sh file by typing "sh startup-sdp-simulator.sh".
If it success you will see some information going on your command line. ~ :), Go to your browser and access these URL :
http://127.0.0.1:8081/mosim
u done the first step successfully then ~. if further help please read the README file and pdf files.

2) By using simulator you can send sample sms to your application. So you need create an application to recieve sms. So by using the simulator you can send application to your application. :) great hah !.

3) So first lets try with the sample application that u have downloaded called "sample-mo-listener.zip" extract the file. please go throgh the README file and source code first for juz to get basic idea. if it is hard to get idea dont worry you will get those things time by time. This sample-mo-listener is the application for recieving sms from the user. To test this application we need a server. so i recommend you to download the apache tomcat server and install it. if you haven't that. then copy the sample-mo-listener folder to webapps folder in the apache-tomcat.

4) try to access that on browser http://localhost:8080/sample-mo-listener. obviously you will get 404 error dont worry becase there no file to display. But it is working. go to your apache-tomcat folder and
apache-tomcat-6.0.20/logs there is a file called catalina.out . open it.

5) Now here is time to run. go to http://127.0.0.1:8081/mosim and input the phone number and MO URL for the MO URL please type your http://localhost:8080/sample-mo-listener and input the message. Submit it :).

6) now you are done. please re-open the catalina.out file and you will see your message on it. if you are a linux fan, have a tail -f [..your apache installed folder path]/logs/catalina.out

7) So try understand those source code first and if you have doubt please post it we will help


more info-http://mchoicedeveloper.hsenidmobile.com/sdp/viewtopic.php?f=9&t=21

No comments:

Post a Comment