PammyS / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Receive nagative response #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I ran the SimpleSubmitExample and I got an exception as following:

Receive negative response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000b found
    at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
    at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
    at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)
    at org.jsmpp.examples.SimpleSubmitExample.main(SimpleSubmitExample.java:55)

When I tried to debug into the code, from AbstractSession.validateResponse
method, the response.getCommandStatus() return as 11.
Any ideas?

Thanks

Original issue reported on code.google.com by pnk087 on 6 Apr 2010 at 4:23

GoogleCodeExporter commented 8 years ago
I could get it work now. The above exception happened just because I add "+" at 
the
beginning of the source address. When I tried to remove it, the message got 
sent.

Original comment by pnk087 on 6 Apr 2010 at 4:28

GoogleCodeExporter commented 8 years ago
I have the same problem now

Original comment by m.alnah...@gmail.com on 22 Jun 2011 at 12:11

GoogleCodeExporter commented 8 years ago
The destination address rejected by SMSC, consult this with the SMSC owner

Original comment by uuda...@gmail.com on 23 Jun 2011 at 4:01

GoogleCodeExporter commented 8 years ago
I'm randomly facing this issue of negative response now

Original comment by Riham.Ga...@gmail.com on 29 May 2012 at 11:18

GoogleCodeExporter commented 8 years ago
I also ran simple One
 when i try messages in bulk to the same destinationaddress it gives me error ..

please explain why 
Many thanks

Receive negative response
org.jsmpp.extra.NegativeResponseException: Negative response 0000000b found
    at
org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
    at
org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
    at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)
    at org.jsmpp.examples.SimpleSubmitExample.main(SimpleSubmitExample.java:55)

Original comment by faruk.ar...@gmail.com on 24 Mar 2013 at 9:13

GoogleCodeExporter commented 8 years ago
Hi,
Please help me this. I have also this type of problem....

Original comment by bulk24sm...@gmail.com on 16 May 2014 at 7:43

GoogleCodeExporter commented 8 years ago
Receive negative response
org.jsmpp.extra.NegativeResponseException: Negative response 00000401 found
        at org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:321)
        at Source.SimpleSubmitExample.main(SimpleSubmitExample.java:58)

Original comment by bulk24sm...@gmail.com on 16 May 2014 at 7:44