JAVA OBJECT API Documentation

You can create a Java client and connect to ViaNett's server to send or receive SMS or MMS messages. The latest stable version of this package is 2.1, which can be downloaded from ViaNett's website.

Requirements

  • ViaNett SMS username and account. Please contact the Customer Services if you don't have one.
  • Destination host: yap.vianett.no
  • Destination port: 31337, 31338 or 31339.
  • Java packages
 

Download the Java package

The Java package comes with two versions.

New version
Download
API package v2_1
Click here for ViaNett SMS version 2_1 (jar).
API documentation v2_1
Click here for the documentation version 2_1
JML documentation v2_1
Click here for the UML documentation version 2_1
Old Versions
Download
API package v1_7
Click here for ViaNett SMS version 1_7 jar
API documentation v1_7
Click here for documentation version 1_7
JML documentation v1_7
Click here for UML documentation version 1_7
API package (version 1_6)
Click here for ViaNett SMS version 1_6
API documentation (version 1_6) Click here for documentation version 1_6

NB: Only version 2_1 supports MMS messaging

Examples

We provide different types of Java examples.

SMS Send example
To create a Java application with send only functionality, please visit: SmsSender.java

SMS send/receive example
To create a Java application with send and receive functionalities please visit: SmsEcho.java (Version 1.7)

JSP example
To create an SMS sender object in JSP, please refer to: jspWithSms.jsp

Information

For a free Demo account, please register here.
To contact Sales or  Customer Service please click here.
Online documentation