tijanibro / mchoice-applications Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/mchoice-applications
Automatically exported from code.google.com/p/mchoice-applications
What steps will reproduce the problem?
1. Started Simulator
2. Then Followed exact steps mentioned in this URL
(http://code.google.com/p/mchoice-applications/wiki/JavaGuide#USSD_Guide)
3. Sent message through simulator with following data
App URL=http://localhost:8080/USSD
Phone #=8888308128
Message=*124#
What is the expected output? What do you see instead?
Expected: Simulator gets back response from Server
Observed:
exception
com.google.gson.JsonSyntaxException:
com.google.gson.stream.MalformedJsonException: invalid number or unquoted
string near <!DOCTYPE html PUBLIC "-//W3C
at com.google.gson.Streams.parse(Streams.java:51)
at com.google.gson.Gson.fromJson(Gson.java:514)
at com.google.gson.Gson.fromJson(Gson.java:484)
at com.google.gson.Gson.fromJson(Gson.java:434)
at com.google.gson.Gson.fromJson(Gson.java:406)
at hms.sdp.ussd.client.MchoiceUssdSender.sendMessage(MchoiceUssdSender.java:123)
at hms.sdp.ussd.client.MchoiceUssdSender.sendMessage(MchoiceUssdSender.java:140)
at demo.MessageReceiver.onMessage(MessageReceiver.java:22)
at hms.sdp.ussd.client.MchoiceUssdReceiver.doPost(MchoiceUssdReceiver.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: invalid number or
unquoted string near <!DOCTYPE html PUBLIC "-//W3C
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1110)
at com.google.gson.stream.JsonReader.decodeLiteral(JsonReader.java:1100)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:343)
at com.google.gson.Streams.parse(Streams.java:38)
... 22 more
Please see attached file for code and line of code where exception occurs
What version of the product are you using? On what operating system?
OS: Windows 7
JDK: jdk1.7.0_03
Eclipse Version: Indigo Service Release 2
Please provide any additional information below.
This is my first time with USSD. Please help as soon as possible
Original issue reported on code.google.com by [email protected]
on 28 Jul 2012 at 2:23
Attachments:
What steps will reproduce the problem?
1. i have not received OTP NUMBER BY SMS geating problem at the time of Login
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Jul 2015 at 9:46
I want to test it rather than the simulator, how to test it - please help.
Original issue reported on code.google.com by [email protected]
on 7 Mar 2012 at 4:31
can i edit sender details.. eg: sender> pra15
Original issue reported on code.google.com by [email protected]
on 26 Feb 2012 at 1:45
MchoiceUssdSender ussdSender = new MchoiceUssdSender("http://127.0.0.1:8000/ussd/", "appd", "password");
log file error:
"
Sending USSD to application [{"correlationId":"0.12577259930834506","address":"fb57bc1434fa37ba3c79e71ee2184c49","message":"1"}]
New USSD Message Received [UssdAoRequestMessage{conversationId='1.1285227464755799E8', address='fb57bc1434fa37ba3c79e71ee2184c49', message='1', sessionTermination=null}]
Received USSD Message Failed : java.lang.Exception: Unautorized Request , AppId or Password Missing
UssdAoRequestMessage{conversationId='1.1285227464755799E8', address='fb57bc1434fa37ba3c79e71ee2184c49', message='1', sessionTermination=null}
"
Tks you!
how we can integrate billing to our app.have any sample application.If have pls
send
Original issue reported on code.google.com by [email protected]
on 21 Jul 2014 at 12:50
i'm new to USSD application development.
i using java to develop the USSD application.
how can get the phone number of the USSD message using this API ?
is this API can be used to send and recieve USSD messages from the USSD
gateway which is using HTTP request to send messages for applicaion.
waiting for your response for this matter.
thank you in advance.
udeshika
Original issue reported on code.google.com by [email protected]
on 13 Nov 2011 at 2:11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.