Examples of sendSMS()


Examples of com.uip.tatar.APITatar.sendSMS()

    @Test
    public void sendSMSTest() {
        APITatar apiTatar  = APITatarProvider.get();
        try {
            apiTatar.auth(LOGIN, PASSWORD);
            apiTatar.sendSMS("50d308f5dc490ef10e00000d", "test");
        catch (APITatarException ex) {
            Assert.fail(ex.getMessage());
        }
    }
View Full Code Here

Examples of com.uip.tatar.APITatar.sendSMS()

            //get payment histories
            PaymentHistories paymentHistories = apiTatar.getPaymentHistories(user.getId(), new Paginate());

            //send sms
            apiTatar.sendSMS(user.getId(), "message text");


            //System.out.println(fines);

        } catch (APITatarException iex) {
View Full Code Here

Examples of evolaris.framework.async.business.communication.MessagingManager.sendSms()

        } else {
          SmsDestinationAddress receiver = new SmsDestinationAddress(msisdn);
          SortedSet<SmsDestinationAddress> receivers = new TreeSet<SmsDestinationAddress>();
          receivers.add(receiver);
          MessagingManager msgMgr = new MessagingManager(locale, session);
          msgMgr.sendSms(fromAddress, receivers, getCurrentGroup(req), smsSendForm.getMessage(), sendAt);
          Date date = new Date();
          String formattedDate = DateFormat.getTimeInstance(DateFormat.MEDIUM,locale).format(date);
          String generalInformation = getResources(req).getMessage(locale, "smssvc.asyncSendStarted", new Object[] {new Integer(receivers.size()), formattedDate});
          req.setAttribute("generalInformation", generalInformation);
          return mapping.findForward("sent");
View Full Code Here

Examples of evolaris.framework.async.business.communication.MessagingManager.sendSms()

      req.setAttribute("generalError",noUsersWithMsisdnsString);
      return mapping.findForward("notSent");
    }

    MessagingManager msgMgr = new MessagingManager(locale, session);
    msgMgr.sendSms(fromAddress, receivers, getCurrentGroup(req), msgForm.getMessage(), sendAt);
    Date date = new Date();
    String formattedDate = DateFormat.getTimeInstance(DateFormat.MEDIUM,locale).format(date);
    String generalInformation = getResources(req).getMessage(locale, "smssvc.asyncSendStarted", new Object[] {new Integer(receivers.size()), formattedDate});
    req.setAttribute("generalInformation", generalInformation);
    return mapping.findForward("sent");
View Full Code Here

Examples of ru.headhunter.smsengine.client.SMSEngine.sendSMS()

    public static void main(String[] args) throws Exception {
        HessianProxyFactory factory = new HessianProxyFactory();
        SMSEngine engine = (SMSEngine) factory.create(SMSEngine.class, "http://localhost:9292/sms-engine/service");
        try {
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
View Full Code Here

Examples of ru.headhunter.smsengine.client.SMSEngine.sendSMS()

        HessianProxyFactory factory = new HessianProxyFactory();
        SMSEngine engine = (SMSEngine) factory.create(SMSEngine.class, "http://localhost:9292/sms-engine/service");
        try {
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
View Full Code Here

Examples of ru.headhunter.smsengine.client.SMSEngine.sendSMS()

        try {
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
View Full Code Here

Examples of ru.headhunter.smsengine.client.SMSEngine.sendSMS()

            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
        } catch (Exception e) {
            System.out.println("send error");
View Full Code Here

Examples of ru.headhunter.smsengine.client.SMSEngine.sendSMS()

            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
            engine.sendSMS("79053673205", "sms sending test");
            System.out.println("sms sent");
        } catch (Exception e) {
            System.out.println("send error");
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.