Delay getting request id sending sms through WLNG with malformed number

Hi everybody,
I have a problem when I try to send a sms with a malformed cellphone number.
In particular I used to send sms trought an ALSB 2.6 integration with WLNG, usually I receive the request id for the sent sms in one sencond but when the uri number is wrong a receive the request id after 30 seconds and i don't understand why.
Anybody knows how to set up this parameter?
Regards

I'll try to set the content-type this evening.
They also have a HTTP API but I wanna stay with XML first. And I know this part doesn't have anything to do with building or parsing XML, but I am gonna use the parsing part for the responses I get back.
After I get this right, then I'll look into the HTTP API. But I just wanna finish this first.

Similar Messages

  • Impossible to send SMS through J2ME with a HTC which OS is Windows Mobile

    Hello,
    I've developed a J2ME application with possibilty to send a SMS.
    This works fine on some mobiles like Nokia 6300, but doesn't work on a HTC equipped with Windows Mobile.
    Precisely, in the case of my HTC, the variable supportedSms below is allways null.
    Can someone tell me how to solve this matter please?
                String supportedSms = System.getProperty("wireless.messaging.sms.smsc"); 
                if(supportedSms == null){
                        //this means the mobile can't send a sms through j2me code
                }else{
                        //this means the mobile can send a sms through j2me code
                }Regards

    Sorry, for digging up this topic, but has anybody found a solution to the problem? My sms sending application seems to work on SE's, Nokias, Motorolas etc. but not on Windows Mobile. I am testing it on a HTC s710 with Windows Mobile v. 6.0.
    Regards
    Martin

  • How to send sms through java program?

    hi,
    i am trying to send sms through java program.i am usining ubuntu 6.04.i am using modem MC35i.i use the jSMSEnjine.jar and rxtxcomm.jar.
    these are the following program.
    import org.jsmsengine.*;
    import java.util.*;
    class SendMessage
         public static void main(String[] args)
              int status;
              // Create jSMSEngine service.
         CService srv = new CService("Com2",9600);
              //CService srv = new CService("COM2",9600);
              System.out.println();
              System.out.println("SendMessage(): sample application.");
              System.out.println(" Using " + srv._name + " " + srv._version);
              System.out.println();
              try
                   //     Initialize service.     
                   srv.initialize();
                   Thread thread =Thread.currentThread();
                   thread.sleep(1000);
                   System.out.println(srv);
                   //     Set the cache directory.
                   srv.setCacheDir(".\\");
                   //     Set the phonebook.
                   //     srv.setPhoneBook("../misc/phonebook.xml");
                   //     Connect to GSM device.
                   status = srv.connect();
                   //     Did we connect ok?
                   int st=CService.ERR_OK;
                   System.out.println(st);
                   System.out.println(status);
                   if (status == CService.ERR_OK)
                        //     Set the operation mode to PDU - default is ASCII.
                        srv.setOperationMode(CService.MODE_PDU);
                        // Set the SMSC number (set to default).
                        srv.setSmscNumber("");
                        //     Print out GSM device info...
                        System.out.println("Mobile Device Information: ");
                        System.out.println("     Manufacturer : " + srv.getDeviceInfo().getManufacturer());
                        System.out.println("     Model : " + srv.getDeviceInfo().getModel());
                        System.out.println("     Serial No : " + srv.getDeviceInfo().getSerialNo());
                        System.out.println("     IMSI : " + srv.getDeviceInfo().getImsi());
                        System.out.println("     S/W Version : " + srv.getDeviceInfo().getSwVersion());
                        System.out.println("     Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
                        System.out.println("     Signal Level : " + srv.getDeviceInfo().getSignalLevel() + "%");
                        //     Create a COutgoingMessage object and dispatch it.
                        //     *** Please update the phone number with one of your choice ***
    // String smsLengthTest="Hi"+"\nTesting is going on.Test for sending unlimited number of charecter.So you will get N number of SMS.Initially I trancate the whole string by 70 charecter.Later I will put it upto 90 charecter.Some chararecter should kept for header portion.I don't know the total number.It is just test.If you got the sms u should appreciate me...This is Ripon...I have written sms program";
    String smsLengthTest="Hi\n"+"This is Govindo";
    int mao=smsLengthTest.length();
    System.out.println("Length of sms :"+mao);
    String smsNo="9433314095";
    smsNo="+91"+smsNo;
    if(mao<70)
    COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    else
    // COutgoingMessage msg = new COutgoingMessage(smsNo,smsLengthTest);
    // LinkedList messageList;
    // messageList = new LinkedList();
    // messageList.add(msg);
    // LinkedList maooo=new LinkedList();
    // maooo=srv.splitLargeMessages(messageList);
    int sizelength=0;
    int counter=0;
    sizelength=smsLengthTest.length();
    System.out.println("SMS length :"+sizelength);
    int smsCntr=sizelength/70;
    System.out.println("smsCntr :"+smsCntr);
    counter=smsCntr+1;
    int j=70;
    int k=0;
    try
    for(int i=0;i<smsCntr;i++)
    String test="";
    test=test+i;
    test=smsLengthTest.substring(k,j);
    System.out.println(test);
    System.out.println(test.length());
    COutgoingMessage msg = new COutgoingMessage(smsNo, test);
    System.out.println("hi this is suman" + smsNo);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    k=k+70;
    j=j+70;
    catch(Exception e)
    System.out.println("Error...1");
    e.printStackTrace();
    e.getMessage();
    String lastPortion=smsLengthTest.substring(k);
    System.out.println(lastPortion);
    COutgoingMessage msg = new COutgoingMessage(smsNo, lastPortion);
    //     Character set is 7bit by default - lets make it UNICODE :)
    //     We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    //          this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
                        // Disconnect from GSM device.
                        srv.disconnect();
                   else System.out.println("Connection to mobile failed, error: " + status);
              catch (Exception e)
                   e.printStackTrace();
              System.exit(0);
    the error is:
    SendMessage(): sample application.
    Using jSMSEngine API 1.2.6 (B1)
    org.jsmsengine.CService@addbf1
    0
    -101
    Connection to mobile failed, error: -101
    please help me,its very urgent.

    come back in about 5 years, we may have time for you by then.
    In the meantime, how about contacting the people who wrote that library and asking them nicely for help (rather than trying to order people to drop whatever they're doing and jump through hoops to accommodate your every wish as you're doing here)?

  • New line problem in sending sms through SAP

    Hi all,
    I need to send sms through sap. I have a code working fine.
    constants: c_tab type c value cl_abap_char_utilities=>NEWLINE.
    concatenate 'Sales INFO-' date3  into line1 separated by space.
      move 'Order Input' to line2.
      concatenate 'Day: Rs.' day_oamt   into line3 separated by space.
      concatenate 'MTH: Rs.' month_oamt into line4 separated by space.
      concatenate 'YTD: Rs.' yord       into line5 separated by space.
      move 'Billing' to line6.
      concatenate 'Day: Rs.' day_bamt   into line7 separated by space.
      concatenate 'MTH: Rs.' month_bamt into line8 separated by space.
      concatenate 'YTD: Rs.' ybill      into line9 separated by space.
    concatenate line1 line2 line3 line4 line5 line6 line7 line8 line9 into text separated by C_TAB
    concatenate '+91' m_no+len(10) into m_no.
    'http://************************************='
      M_NO
      '&msg='
       text
        '&************************************************=text'
       inTO WF_STRING.
    CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = wf_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR result .
      result = http_client->response->get_cdata( ).
    I am able to send the message but it gets displayed in one line.
    SALES INFO- <dd.mm.yyyy> Order Input DAY: Rs.123 MTH: Rs.123 YTD: Rs.123 Billing DAY: Rs.123 MTH: Rs.123 YTD: Rs.123
    What I need to do is this.
    SALES INFO- <dd.mm.yyyy>
    Order Input
    DAY: Rs.123
    MTH: Rs.123
    YTD: Rs.123
    Billing
    DAY: Rs.123
    MTH: Rs.123
    YTD: Rs.123

    Have you tried with line feed?
    i.e.
    instead of:
    constants: c_tab type c value cl_abap_char_utilities=>NEWLINE.
    try:
    constants: c_tab type c value cl_abap_char_utilities=>CR_LF.

  • Is there any way to send sms through j2me

    hi all,
    is there any way to send sms through j2me or any way to communicate with real device through emulator or from emulator to another emulator
    any sugesstions appriciated
    abdul rafiq jani
    applitech solution limted

    what special API where i can get it any link or information about that APi
    regards
    abdul rafiq jani
    Applitech Solution Limited

  • Windows Phone - To be able to send sms through Nok...

    I would love to use a Lumia and to be able to send sms through Nokia Suite by connecting bthrough usb cable and also by bluetooth.
    I connect my Nokia Belle phones almost every day by bluetooth and send sms.
    The freedom to do that is long implemented i my daily life and the reason is plain simple;
    while surfing on the pc, checking business stuff, writing messages or whatever and not have to pick up the phone is such easy task, not to mention how easy it is too use the keyboard of the pc and the speed and accuracy of writing...people who like me have done this for years,
    surely will miss this feature or whatever you want to call it.
    Implement it, just do it. Please...
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

    Well, how shall I put it....
    I want to send sms when connected to nokia suite (bluetooth) just as I do now with Nokia Belle 700 or 701 using the keyboard of my laptop or pc.
    Read my contribution again....so underated "feature", once you get hooked, you are hooked....just to see the sms on the pc screen without take take up your phone and then quickly answer the sms and at the same time just to watch your pc screen and other activities on your pc screen/laptop...
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • Which Mobile Networks Operator could be used to send SMS through SKYPE in China?

    Which Mobile Networks Operator could be used to send SMS through SKYPE in China?

    I actually found a workable solution, based off of your suggestion.
    Sprint has partnered with Google to integrate native Google Voice onto the iPhone, using your existing Sprint phone number, for free. The only downside is, you loose visual voicemail. But, you can set Google Voice to transcribe my voicemails and send them via email, which I hear can be quite funny when it gets it wrong.
    But, not being a fan of Google's "all or nothing" approach, where they take over all your sms, voicemail, and calls, I opted to set up a free account and use Google Hangouts app to make outgoing calls. Using it this way, with out applying for a Google Voice number, or switching  my Sprint number over to Google, the caller ID just says "No Caller ID", which is ideal, since having an additional phone number pop up, might lead to confusion as to which one to use to contact me.
    So, thanks for pointing me  in  the right direction.  It's not perfect, as I imagine many friends will kick me over to voicemail when the see "no caller ID" pop up on  their phones, but it'll get the job done.
    Problem solved.

  • How do I get imessage to send SMS texts to non iphone users?

    I have read that I can use imessage to send and receive regulr SMS text messages to non iphone users; but, I can't seem to make it work.  When I try to enter a mobile number of a non iphone user in the new text address bar and send anSMS text the adressee turns red and I get the following message:
    Your message could not be sent.
    4342496xxx is not registered with iMessage.
    Does anyone have a suggestion? I've checked my preferences and any articles I could find but so far I can't find anything that helps.  Thanks.

    Hi,
    As I said the Menu Item has disappeared in Messages but you can still get it to send SMS Messages via an AIM Account to a "Buddy" that is the phone number with a leading + 1 for the country code (although it was never  rolled out world wide).
    Uploaded with Skitch!
    The Menu items in the Buddies menu (This is from iChat 5) do not appear unless the computer ius set to be in the United States.
    They don't appear at All in Messages (whether the computer is set or not.)
    This Info card to show it has numbers
    Uploaded with Skitch!
    I see you have eventually got there with willar's post.
    For the points
    8:21 PM      Monday; October 8, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • What are the steps for sending SMS through IMS5.1

    I have IMS 5.1 solaris version and I want to send SMS through this Messaging server, Is there any need for the gateway/any other server/requirements for accomplishing this?

    iPlanet Messaging Server 5.2 supports one-way email to an SMS gateway.For SMS channel configuration please refer to
    http://docs.iplanet.com/docs/manuals/messaging/technotes/5.2sms.html

  • Is it possible to send SMS through java

    Hi all
    I m a student and as a part of my project I need to create an SMS server(SMS gateway). Can we send SMS through Java and if yes then send me the code for the same . Also on which GSM Modem will it Work , I've heard about Nokia GSM Modem N32. Kindly Guide me regarding the Same.
    Regards
    MoComp

    Hi all
    I m a student and as a part of my project I need to
    create an SMS server(SMS gateway). Can we send SMSSo YOU need to write it.
    through Java and if yes then send me the code for theIt's possible, as there are several commercial offerings out there.
    But as YOU need to write it it won't do for you to try and trick someone else into writing it so you can submit it as your own.
    same . Also on which GSM Modem will it Work , I've
    heard about Nokia GSM Modem N32. Kindly Guide me
    regarding the Same.All depends on how you implement it.
    A real server would have its own hardware and software to pipe directly into the network of a telco, and a contract with that telco to use their network to send messages.

  • Send SMS through GSM modem

    Hello,
    We have a requirement of sending SMS after PGI . Could anybody please help me on how to use GSM Modem to send SMS through SAP?

    Hey, I can give you another tip. I am using a very reliable integration program. Its name is Ozeki NG SMS Gateway. I hope they dont cut my tip out, because this software is very useful and stable. You are also able to add this message sending function to different clients for example HP Openview or Sharepoint etc.
    Sorry again, I did not intend to advertise or something like that.
    http://www.sms-integration.com/
    Have a nice day
    Jozef

  • Can't send SMS to contact's work number

    I have imported contacts from blackberry and most of my contact numbers are saved under work section.
    i am unable to send any sms to contacts whose number is listed under work. I can send SMS to only contacts listed under mobile.
    I do not want to manually set all my contacts from work to mobile one by one. Is there any solution?
    Thanks
    RR

    Unfortunately not.
    it is actually a good thing that it disallows home and work numbers because generally speaking, unless you have Comcast in the USA, you cannot send SMS to landline phones which are home/work. Otherwise everytime you go to send SMS to people with mobile and work, etc., you would have to choose the number to send to.
    in order to get to send these SMS, you'll have to change them appropriately.

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • TS3276 When I try sending emails through Mail with my iCloud account, it says "Unable to Sign Message"

    I cannot send messgaes through Mail with my iCloud account. Whenever I try sending them, it tells me "Unable to sign message".
    Does anybody know how to fix it?

    Check if you have set the correct language and country in your Apple TV. Maybe you are trying to connect to the wrong iTunes store.

  • How can i get a copy of my ipone messages with the number, date and time stamp?

    How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp?  Needed for court purposes.

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    You should probably consult your attorney to see if either of these will be acceptable.

Maybe you are looking for