Giter VIP home page Giter VIP logo

mm7-client's Introduction

instantcom-mm7 Java client-server MMS MM7 library

Java 1.6+ client and server implementation of MMS MM7 protocol.

MM7 is the interface between MMSC and a value-added service provider (VASP). Can be used for sending and receiving messages. It is based on SOAP with attachments, using HTTP as the transport protocol.

See http://en.wikipedia.org/wiki/MM7_(MMS)#MM7

Features

  • Supports Java 1.6+. Should work with 1.5 if needed.
  • Supports both client (VASP) and server (MMSC) operations.
  • No external dependecies other than JDOM 2+ and mimepull 1.9+.
  • Manual SOAP message + attachments parsing. JAXP, SAAJ and it's ilk have a problem with MM7.
  • Supports any MM7 namespace. MM7 uses namespaces for versioning making client work with multiple servers hard.
  • Dual licensed under GPL v2 and CDDL.

Status

Currently it is work in progress. You can use it to connect to MMSC, tested with Nokia MMSC and few other implementations. Server side implementation is incomplete as well client functions other than basic message sending. Need more javadocs and tests.

In production use with several mobile operators.

Building

To produce instantcom-mm7.jar you will need apache maven installed. Run:

mvn clean package

Usage

  • Send a textual MMS message to MMSC.
		SubmitReq sr = new SubmitReq();
		sr.setVaspId("xxx_vaspid");
		sr.setVasId("xxx_vasid");
		sr.setSubject("Nice weather");
		sr.setMessageClass(MessageClass.INFORMATIONAL);
		sr.setServiceCode("7007");
		sr.addRecipient(new Address("+385910000001", RecipientType.TO));

		// Add text content
		TextContent text = new TextContent("We got a real nice weather today.");
		text.setContentId("text");
		sr.setContent(text);

		// Initialize MM7 client to MMSC
		MMSC mmsc = new BasicMMSC(url);

		// Send a message
		SubmitRsp submitRsp = mmsc.submit(sr);
		System.out.println(submitRsp);

License

Dual licensed under CDDL v1.1 and GPL v2. See LICENSE.txt

Author contact and support

For any further information please contact Vjekoslav Nesek ([email protected])

mm7-client's People

Contributors

vnesek avatar thiamteck avatar bardug avatar funzinator avatar gil04 avatar sadvikaalam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.