Coder Social home page Coder Social logo

mchoice-applications's People

Contributors

jasondevj avatar manoramahp avatar

Watchers

 avatar  avatar

mchoice-applications's Issues

com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near <!DOCTYPE html PUBLIC "-//W3C

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:

OTP Number not received

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

php API

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

AppId or Password Missing

Hi, i'm used sample but the system alway throw error: "AppId or Password Missing"
and this line i'm config:
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!

about cass billing

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

USSD applliction development using java

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.