Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
  1. #21
    uthpalaw is offline Member
    Join Date
    Mar 2010
    Posts
    68
    Rep Power
    0

    Default

    Java Code:
    SimpleSubmitExample.java:55: submitShortMessage(java.lang.String,org.jsmpp.bean.TypeOfNumber,org.jsmpp.bean.NumberingPlanIndicator,java.lang.String,org.jsmpp.bean.TypeOfNumber,org.jsmpp.bean.NumberingPlanIndicator,java.lang.String,org.jsmpp.bean.ESMClass,byte,byte,java.lang.String,java.lang.String,org.jsmpp.bean.RegisteredDelivery,byte,org.jsmpp.bean.DataCoding,byte,byte[],org.jsmpp.bean.OptionalParameter...) in org.jsmpp.session.SMPPSession cannot be applied to (<nulltype>,org.jsmpp.bean.TypeOfNumber,org.jsmpp.bean.NumberingPlanIndicator,java.lang.String,org.jsmpp.bean.TypeOfNumber,org.jsmpp.bean.NumberingPlanIndicator,java.lang.String,org.jsmpp.bean.ESMClass,byte,byte,<nulltype>,<nulltype>,org.jsmpp.bean.RegisteredDelivery,byte,org.jsmpp.bean.GeneralDataCoding,byte,byte[])
                String messageId = session.submitShortMessage(null, TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, "", TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, "", new ESMClass(), (byte)0, (byte)1,  null, null, new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT), (byte)0, new GeneralDataCoding(false, true, MessageClass.CLASS1, Alphabet.ALPHA_DEFAULT), (byte)0, "jSMPP simplify SMPP on Java platform".getBytes());
                                          ^
    1 error

    i'm getting this error when i tried to compile this with version 1.4

  2. #22
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by uthpalaw View Post
    Java Code:
    org.jsmpp.extra.NegativeResponseException: Negative response 0000000e found
            at org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.ja
    va:215)
    This is the exception wht i got.
    Seems this is an UNKNOW ERROR, didn't the SMSC provided all responses? Or could you find with them, in which circumstance they sent it?

Page 2 of 2 FirstFirst 12

Similar Threads

  1. how to send picture message sms using smpp in java
    By manishsuvasiya in forum Advanced Java
    Replies: 2
    Last Post: 11-22-2010, 05:34 AM
  2. how to send picture message using smpp in java
    By manishsuvasiya in forum New To Java
    Replies: 1
    Last Post: 11-16-2010, 05:25 AM
  3. Replies: 10
    Last Post: 06-06-2010, 06:49 PM
  4. how to send sms
    By islam in forum Eclipse
    Replies: 5
    Last Post: 03-16-2010, 11:57 AM
  5. SMS Solutions on GSM and SMPP
    By smany in forum Introductions
    Replies: 2
    Last Post: 07-10-2007, 02:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •