MGW client API How to easily integrate messaging into your application.

Slides:



Advertisements
Similar presentations
How to Look at ExBPA Files Exchange Tech Talk 10/04/2004.
Advertisements

Unified Communications (UC) Quick Reference Guide USING YOUR UC CLIENT This guide is designed to provide you with a quick overview of the Unified Communications.
Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
Here’s what we see when we start a new BlueJ “Project”. BlueJ automatically creates a small “readme.txt” file to hold any directions we wish to write about.
Introduction To Java Objectives For Today â Introduction To Java â The Java Platform & The (JVM) Java Virtual Machine â Core Java (API) Application Programming.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Winter 2005Jason Prideaux1 Apache ANT A platform independent build tool for Java programs.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
J2ME Programming. 2 Recommended Books Programming Wireless Devices with the Java2 Platform, Micro Second Edition (Paperback) by Roger Riggs (Editor),
Java Servlets and JSP.
SERVLETS.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
.NET On A Shoe String By: Patrick Brannen Lead Developer iDevCo, Inc.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
PIKA Technologies Inc. Analog Logger Application Sample December 2009.
A Free sample background from © 2001 By Default!Slide 1.NET Overview BY: Pinkesh Desai.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Confidential - © 2012 StreamWIDE © StreamWIDE
Configuration Management and Server Administration Mohan Bang Endeca Server.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
DUE Hello World on the Android Platform.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
Introduction to Webots Outlines Introduction Introduction World Description World Description Controller Programming Controller Programming.
How to Tag a Corpus Using Stanford Tagger. Accuracy All tokens: 97.32% Unknown words: 90.79%
1 Using Silent Install Scripts to Deploy Software to MS Windows PCs. Larry Carpenter, P.E. CAx Administrator / FE Analyst Siemens Healthcare Molecular.
POS 406 Java Technology And Beginning Java Code
1 Recitation 8. 2 Outline Goals of this recitation: 1.Learn about loading files 2.Learn about command line arguments 3.Review of Exceptions.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
1 EndNote X2 Your Bibliographic Management Tool 29 September 2009 Humanities and Social Sciences Resource Teams.
Understanding StarTeam Enterprise Advantage Course #4124.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
1 Compiler Construction (CS-636) Muhammad Bilal Bashir UIIT, Rawalpindi.
Chapter 7: Creating and Consuming XML Web Services Understanding XML Web Services Creating XML Web Services Deploying and Discovering XML Web Services.
Computer Science 209 Software Development Handing Errors and Creating Documentation.
Desktop Integration with the Appx Client. Launch Documents Run Desktop Programs Transfer Files to the Client Transfer Files from the Client Client-Side.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
How to Execute TSR Program. Install Borland C++ Download Borland C++ from LMS – oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl.
Documentation Javadocs. Design/Documentation An essential ingredient of good Object Oriented programming is known as design by contract. This means that.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
CPSC 372 John D. McGregor Module 6 Session 4 Sonar.
Jump-Start WDSc-RSE by Robert Arce from PrismaTech. Jump-Start WDSc-RSE Presented by: Robert Arce.
An Introduction to Ant. What is Ant? How do you use it? Why would you want to?
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
NB UML takeover by community Sergey B. Petrov Former NetBeans UML Developer Jiří Kovalský NetBeans Community Manager August 16 th, 2010.
Labs: Create, deploy and test a simple web service
BI Share Quick reference guide.
OFBiz Internals.
Software Development Handing Errors and Creating Documentation
Section 64 – Manipulating Data Using Methods – Java Swing
CS1101 : Using Course Marker
JADE - Java Agent DEvelopment framework -
Cordova & Cordova Plugin Installation and Management
Java Servlets and JSP.
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
bitcurator-access-webtools Quick Start Guide
Microsoft Office Illustrated Fundamentals
Review of Previous Lesson
Presentation transcript:

MGW client API How to easily integrate messaging into your application

Transport (sending/receiving) of: SMS messages MMS messages binary SMS messages (e.g. WAP Push service indication) LBS messages (location based services) MGW Client API Offers

MGW client API uses ParlayX web services as transport protocol. ( There are two libraries: Java MGW client API Microsoft.NET MGW client API (written in C#) Technologies & Standards

Download latest Java and Microsoft.NET libraries from here: Getting Started

Java requirements: Operating system: independent Java SDK version 1.4.x or version 1.5.x ( Apache Ant tool version 1.6.x ( Microsoft.NET requirements: Operating system: MS Windows 98, 2000, 2003, XP.NET framework Visual Studio.NET Compiling & Running The Samples

Java sample: sms-test Unzip mgw-client-x.x.x.zip to a working directory Using command line, browse to samples/sms-test Read the file: readme.txt to get some quick info about the sample Open conf.properties file and adjust the configuration parameters properly To compile the sample type 'ant compile' and press ENTER To run the sample type 'ant run' and press ENTER You'll be prompted to enter a message text and an MSISDN to send to

Programming Java programming Read the user guide document: docs/UserGuide.html and follow the instructions Get yourself in common with the API, read the JavaDoc: docs/api/index.html /** * Creates an SMS message using the given parameters * and send it to the given recipient's MSISDN */ public void send(String text, String recipient)throws Exception{ Message message = new SmsMessage(text); messageManager.sendMessage("none", message, originator, new String[] {recipient}, Priority.DEFAULT, null); }

Programming Java programming Make some initialization on the application startup /** * Instantiates and initializes all needed service objects and parameters * which MGW client library uses to send messages. */ public void init(String confFilePath)throws FileNotFoundException, IOException{ Properties conf = new Properties(); conf.load(new FileInputStream(confFilePath)); originator = conf.getProperty("originator"); SingleRouteCredentialsHandlerImpl credentialsHandler = new SingleRouteCredentialsHandlerImpl(); credentialsHandler.setUsername(conf.getProperty("userName")); credentialsHandler.setPassword(conf.getProperty("userPassword")); //messageManager is preferable to be a singleton instance in your business application. MessageManagerImpl mm = new MessageManagerImpl(); mm.setSendMessagePortURL(conf.getProperty("sendMessagePortURL")); mm.setRouteCredentialsHandler(credentialsHandler); messageManager = mm; }

MGW Client API Thank you for your attention